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

Function validateOrder

docs/app/js/sanddance-app.js:75988–75990  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

75986}
75987exports.default = Euler;
75988function validateOrder(value) {
75989 return value >= 0 && value < 6;
75990}
75991function checkOrder(value) {
75992 if (value < 0 && value >= 6) throw new Error(ERR_UNKNOWN_ORDER);
75993 return value;

Callers 1

validateMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected