MCPcopy Index your code
hub / github.com/microsoft/SandDance / compareNativeSubtypes

Function compareNativeSubtypes

docs/app/js/sanddance-app.js:11143–11146  ·  view source on GitHub ↗
(value1, value2)

Source from the content-addressed store, hash-verified

11141 else return compareNativeSubtypes(value1, value2);
11142}
11143function compareNativeSubtypes(value1, value2) {
11144 // e.g. Function, RegExp, Date
11145 return value1.toString() === value2.toString();
11146}
11147function compareArrays(value1, value2) {
11148 var len = value1.length;
11149 if (len != value2.length) return false;

Callers 1

compareFunction · 0.85

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected