MCPcopy Create free account
hub / github.com/aiscript-dev/aiscript / isArray

Function isArray

src/interpreter/util.ts:31–33  ·  view source on GitHub ↗
(val: Value)

Source from the content-addressed store, hash-verified

29}
30
31export function isArray(val: Value): val is VArr {
32 return val.type === 'arr';
33}
34
35export function isNull(val: Value): val is VNull {
36 return val.type === 'null';

Callers 7

__evalMethod · 0.85
__evalSyncMethod · 0.85
getReferenceMethod · 0.85
getReferenceSyncMethod · 0.85
flatFunction · 0.85
primitive-props.tsFile · 0.85
assertArrayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected