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

Function isObject

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

Source from the content-addressed store, hash-verified

25}
26
27export function isObject(val: Value): val is VObj {
28 return val.type === 'obj';
29}
30
31export function isArray(val: Value): val is VArr {
32 return val.type === 'arr';

Callers 5

__evalMethod · 0.85
__evalSyncMethod · 0.85
getReferenceMethod · 0.85
getReferenceSyncMethod · 0.85
assertObjectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected