self-assert / Requirements / differentFrom
Function: differentFrom()
differentFrom<
ValueType
>(forbiddenValue
):Predicate
<ValueType
>
Returns a predicate that checks if the value is not equal to the forbidden value.
Type Parameters
Type Parameter |
---|
ValueType |
Parameters
Parameter | Type |
---|---|
forbiddenValue | ValueType |
Returns
Predicate
<ValueType
>