MCPcopy Create free account
hub / github.com/buke/quickjs-go / IsTypedArray

Method IsTypedArray

value.go:1261–1264  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1259}
1260
1261func (v *Value) IsTypedArray() bool {
1262 _, ok := v.typedArrayType()
1263 return ok
1264}
1265
1266func (v *Value) IsInt8Array() bool {
1267 typeID, ok := v.typedArrayType()

Callers 3

TestValueSpecialTypesFunction · 0.95
TestContextTypedArraysFunction · 0.80
TestValueTypedArraysFunction · 0.80

Calls 1

typedArrayTypeMethod · 0.95

Tested by 3

TestValueSpecialTypesFunction · 0.76
TestContextTypedArraysFunction · 0.64
TestValueTypedArraysFunction · 0.64