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

Method IsInt8Array

value.go:1266–1269  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1264}
1265
1266func (v *Value) IsInt8Array() bool {
1267 typeID, ok := v.typedArrayType()
1268 return ok && typeID == int(C.JS_TYPED_ARRAY_INT8)
1269}
1270
1271func (v *Value) IsUint8Array() bool {
1272 typeID, ok := v.typedArrayType()

Callers 7

ToInt8ArrayMethod · 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