docs » cp.rx.go.Require.Matches
Specifies that the Require
d value Matches
a function predicate.
- Constants - Useful values which cannot be changed
- Matches
- Methods - API calls which can only be made on an object returned by a constructor
- OrThrow
Signature | cp.rx.go.Require.Matches <cp.rx.go.Statement.Modifier> |
---|---|
Type | Constant |
Description | A Statement.Modifier that sets a predicate function that checks values from the requirement . |
Signature | cp.rx.go.Require.Matches:OrThrow(...) -> Require.OrThrow |
---|---|
Type | Method |
Description | Specifies what is thrown if the Require test fails. |
Parameters |
|
Returns |
|