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

Method IsFloat32Array

value.go:1301–1304  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1299}
1300
1301func (v *Value) IsFloat32Array() bool {
1302 typeID, ok := v.typedArrayType()
1303 return ok && typeID == int(C.JS_TYPED_ARRAY_FLOAT32)
1304}
1305
1306func (v *Value) IsFloat64Array() bool {
1307 typeID, ok := v.typedArrayType()

Callers 7

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