MCPcopy Create free account
hub / github.com/dop251/goja / array_isArray

Method array_isArray

builtin_array.go:1558–1565  ·  view source on GitHub ↗
(call FunctionCall)

Source from the content-addressed store, hash-verified

1556}
1557
1558func (r *Runtime) array_isArray(call FunctionCall) Value {
1559 if o, ok := call.Argument(0).(*Object); ok {
1560 if isArray(o) {
1561 return valueTrue
1562 }
1563 }
1564 return valueFalse
1565}
1566
1567func (r *Runtime) array_of(call FunctionCall) Value {
1568 var ctor func(args []Value, newTarget *Object) *Object

Callers

nothing calls this directly

Calls 2

isArrayFunction · 0.85
ArgumentMethod · 0.45

Tested by

no test coverage detected