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

Function isNumber

packages/sanddance-explorer/src/controls/dataItem.tsx:22–26  ·  view source on GitHub ↗
(value: any)

Source from the content-addressed store, hash-verified

20}
21
22function isNumber(value: any) {
23 if (typeof value === 'number') return true;
24 if (!isNaN(value)) return true;
25 return false;
26}
27
28function isBoolean(value: any) {
29 if (typeof value === 'boolean') return true;

Callers 1

bingSearchLinkFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected