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

Function isSymbolObject

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

Source from the content-addressed store, hash-verified

28}
29
30export function isSymbolObject(
31 expr: MathJsonExpression | null
32): expr is MathJsonSymbolObject {
33 return expr !== null && typeof expr === 'object' && 'sym' in expr;
34}
35
36export function isStringObject(
37 expr: MathJsonExpression | null

Callers 5

serializeSymbolMethod · 0.90
symbolFunction · 0.85
countLeavesFunction · 0.85
jsValueToExpressionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected