MCPcopy Create free account
hub / github.com/cortex-js/compute-engine / isNumberObject

Function isNumberObject

src/math-json/utils.ts:24–28  ·  view source on GitHub ↗
(
  expr: MathJsonExpression | null
)

Source from the content-addressed store, hash-verified

22}
23
24export function isNumberObject(
25 expr: MathJsonExpression | null
26): expr is MathJsonNumberObject {
27 return expr !== null && typeof expr === 'object' && 'num' in expr;
28}
29
30export function isSymbolObject(
31 expr: MathJsonExpression | null

Callers 7

serializeExpressionFunction · 0.90
wrapMethod · 0.90
bigintValueFunction · 0.90
isNumberExpressionFunction · 0.85
machineValueFunction · 0.85
jsValueToExpressionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected