Statement
that will require that the resolvable
value matches a predicate, and if not, it will send an error.cp.rx.go.Require.OrThrow <cp.rx.go.Statement.Modifier>
Statement.Modifier
that sets the message to throw if the requirement is not met.cp.rx.go.Require(requirement) -> Require
Require
Statement
with the specified requirement
.resolvable
value that will be checked.Statement
instance which will check if the requirement
matches the requirement.cp.rx.go.Require:Are(value) -> Require.Are
requirement
must match.Are
Statement.Modifier
.cp.rx.go.Require:AreNot(value) -> Require.AreNot
requirement
must match.AreNot
Statement.Modifier
.cp.rx.go.Require:Is(value) -> Require.Is
requirement
must match.Is
Statement.Modifier
.cp.rx.go.Require:IsNot(value) -> Require.IsNot
requirement
must not match.IsNot
Statement.Modifier
.cp.rx.go.Require:Matches(predicate) -> Require.Matches
requirement
must not match.Matches
Statement.Modifier
.cp.rx.go.Require:OrThrow(message) -> Require.OrThrow
OrThrow
Statement.Modifier
.