MCPcopy Create free account
hub / github.com/microsoft/SandDance / validate

Method validate

docs/app/js/sanddance-app.js:75635–75637  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75633 return this.check();
75634 }
75635 validate() {
75636 return validateOrder(this[3]) && Number.isFinite(this[0]) && Number.isFinite(this[1]) && Number.isFinite(this[2]);
75637 }
75638 toArray(array = [], offset = 0) {
75639 array[offset] = this[0];
75640 array[offset + 1] = this[1];

Callers

nothing calls this directly

Calls 1

validateOrderFunction · 0.70

Tested by

no test coverage detected