Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
27
export
function
isObject(val: Value): val is VObj {
28
return
val.
type
===
'obj'
;
29
}
30
31
export
function
isArray(val: Value): val is VArr {
32
return
val.
type
===
'arr'
;
Callers
5
__eval
Method · 0.85
__evalSync
Method · 0.85
getReference
Method · 0.85
getReferenceSync
Method · 0.85
assertObject
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected