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

Function isStringObject

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

Source from the content-addressed store, hash-verified

34}
35
36export function isStringObject(
37 expr: MathJsonExpression | null
38): expr is MathJsonStringObject {
39 return expr !== null && typeof expr === 'object' && 'str' in expr;
40}
41
42export function isDictionaryObject(
43 expr: MathJsonExpression | null

Callers 4

parse-cortex.tsFile · 0.90
countLeavesFunction · 0.85
jsValueToExpressionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected