Checks if a value is a SortedSet
value
const value = sortedSet(numberComparator);const result = isSortedSet(value);console.log(result); // true
true if value is a SortedSet, otherwise false
true
false
the SortedSet element type
the value to check
Generated using TypeDoc
Checks if a
valueis a SortedSetExample
Returns
trueifvalueis a SortedSet, otherwisefalse