Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
31
export
function
isArray(val: Value): val is VArr {
32
return
val.
type
===
'arr'
;
33
}
34
35
export
function
isNull(val: Value): val is VNull {
36
return
val.
type
===
'null'
;
Callers
7
__eval
Method · 0.85
__evalSync
Method · 0.85
getReference
Method · 0.85
getReferenceSync
Method · 0.85
flat
Function · 0.85
primitive-props.ts
File · 0.85
assertArray
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected