FsFlow.CheckModule.fromPredicate
Builds a check from a predicate while preserving the successful value.
Parameters
predicate: A function of type'value -> boolto test the value.value: The value of type'valueto check.
Returns
A Check containing the value if the predicate succeeds.