Open andrei-cocorean opened 7 years ago
Hi, what do you think about adding a matchStrict function that uses strict equality for primitive types? e.g.
matchStrict
matchStrict({ x: 3 }, { x: '3' }) === false
I'd be fine with that. Patch welcome. You can look at https://github.com/tapjs/tsame to see how it's strict/loose behavior is implemented.
Hi, what do you think about adding a
matchStrict
function that uses strict equality for primitive types? e.g.