@rslike/cmp@3.0.0
Major Changes
What's new
cmp
Compare package now register in global scope Symbol.compare
, Symbol.partialEquals
and Symbol.equals
.
for more examples how to work with theese symbols see at wiki
Definitions for built-in objects.
Number
andNumberConstructor
implementsSymbol.compare
,Symbol.partialEquals
andSymbol.equals
String
andStringConstructor
implementsSymbol.compare
,Symbol.partialEquals
andSymbol.equals
Boolean
andBooleanConstructor
implementsSymbol.compare
,Symbol.partialEquals
andSymbol.equals
Date
andDateConstructor
implementsSymbol.compare
,Symbol.partialEquals
andSymbol.equals
utilities function
@rslike/cmp
now export utilities function compare
, partialEquals
and equals
. All this functions call Symbols implementation. (e.g. compare
calls Symbol.compare
implementation)
compare
callsSymbol.compare
implementationpartialEquals
callsSymbol.partialEquals
implementationequals
callsSymbol.equals
implementation
Patch Changes
- Updated dependencies [861b1fb]
- @rslike/std@3.0.0