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

Method IsUint16Array

value.go:1286–1289  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1284}
1285
1286func (v *Value) IsUint16Array() bool {
1287 typeID, ok := v.typedArrayType()
1288 return ok && typeID == int(C.JS_TYPED_ARRAY_UINT16)
1289}
1290
1291func (v *Value) IsInt32Array() bool {
1292 typeID, ok := v.typedArrayType()

Callers 7

ToUint16ArrayMethod · 0.95
TestContextTypedArraysFunction · 0.80
TestDeprecatedAPIsFunction · 0.80
unmarshalSliceMethod · 0.80
TestTypedArraysFunction · 0.80
TestValueTypedArraysFunction · 0.80

Calls 1

typedArrayTypeMethod · 0.95

Tested by 5

TestContextTypedArraysFunction · 0.64
TestDeprecatedAPIsFunction · 0.64
TestTypedArraysFunction · 0.64
TestValueTypedArraysFunction · 0.64