docs » cp.rx.go.If
A Statement
that will check if a resolvable
matches a predicate, then executes other resolvables
.
- cp.rx.go.If.Are
- cp.rx.go.If.AreNot
- cp.rx.go.If.Is
- cp.rx.go.If.IsNot
- cp.rx.go.If.Matches
- cp.rx.go.If.Then
- Constructors - API calls which return an object, typically one that offers API methods
- If
- Methods - API calls which can only be made on an object returned by a constructor
- Are
- AreNot
- Is
- IsNot
- Matches
- Then
Signature | cp.rx.go.If(value) -> If |
---|---|
Type | Constructor |
Description | Creates a new If Statement which will check the first result of value . |
Parameters |
|
Returns |
|
Signature | cp.rx.go.If:Are(value) -> If.Are |
---|---|
Type | Method |
Description | Specifies the value to check. |
Parameters |
|
Returns |
|
Signature | cp.rx.go.If:AreNot(value) -> If.AreNot |
---|---|
Type | Method |
Description | Specifies the value to check. |
Parameters |
|
Returns |
|
Signature | cp.rx.go.If:Is(value) -> If.Is |
---|---|
Type | Method |
Description | Specifies the value to check. |
Parameters |
|
Returns |
|
Signature | cp.rx.go.If:IsNot(value) -> If.IsNot |
---|---|
Type | Method |
Description | Specifies the value to not match. |
Parameters |
|
Returns |
|
Signature | cp.rx.go.If:Matches(predicate) -> If.Matches |
---|---|
Type | Method |
Description | Specifies the predicate function that will check the value results. |
Parameters |
|
Returns |
Signature | cp.rx.go.If:Then(...) -> If.Then |
---|---|
Type | Method |
Description | Call this to define what will happen if value resolves successfully. |
Parameters |
|
Returns |
|