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

Method checkStdArray

builtin_array.go:1449–1455  ·  view source on GitHub ↗
(v Value)

Source from the content-addressed store, hash-verified

1447}
1448
1449func (r *Runtime) checkStdArray(v Value) *arrayObject {
1450 if obj, ok := v.(*Object); ok {
1451 return r.checkStdArrayObj(obj)
1452 }
1453
1454 return nil
1455}
1456
1457func (r *Runtime) checkStdArrayIter(v Value) *arrayObject {
1458 if arr := r.checkStdArray(v); arr != nil &&

Callers 1

checkStdArrayIterMethod · 0.95

Calls 1

checkStdArrayObjMethod · 0.95

Tested by

no test coverage detected