Skip to content

self-assert / Requirements / identical

Function: identical()

identical<ValueType>(expected): Predicate<ValueType>

Returns a predicate that checks if the value is equal to the expected value.

Type Parameters

Type Parameter
ValueType

Parameters

ParameterType
expectedValueType

Returns

Predicate<ValueType>