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

Function isInteger

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

Source from the content-addressed store, hash-verified

109038const isDate = (_)=>!Number.isNaN(Date.parse(_));
109039const isNumber = (_)=>!Number.isNaN(+_) && !(_ instanceof Date);
109040const isInteger = (_)=>isNumber(_) && Number.isInteger(+_);
109041const typeParsers = {
109042 boolean: (0, _vegaUtil.toBoolean),
109043 integer: (0, _vegaUtil.toNumber),

Callers

nothing calls this directly

Calls 1

isNumberFunction · 0.70

Tested by

no test coverage detected