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

Method IsUint8ClampedArray

value.go:1276–1279  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1274}
1275
1276func (v *Value) IsUint8ClampedArray() bool {
1277 typeID, ok := v.typedArrayType()
1278 return ok && typeID == int(C.JS_TYPED_ARRAY_UINT8C)
1279}
1280
1281func (v *Value) IsInt16Array() bool {
1282 typeID, ok := v.typedArrayType()

Callers 6

ToUint8ArrayMethod · 0.95
TestContextTypedArraysFunction · 0.80
TestDeprecatedAPIsFunction · 0.80
unmarshalSliceMethod · 0.80
TestValueTypedArraysFunction · 0.80

Calls 1

typedArrayTypeMethod · 0.95

Tested by 4

TestContextTypedArraysFunction · 0.64
TestDeprecatedAPIsFunction · 0.64
TestValueTypedArraysFunction · 0.64