MCPcopy
hub / github.com/regl-project/regl / isNumericArray

Function isNumericArray

lib/texture.js:183–188  ·  view source on GitHub ↗
(arr)

Source from the content-addressed store, hash-verified

181FORMAT_SIZES_SPECIAL[GL_COMPRESSED_RGB_ETC1_WEBGL] = 0.5
182
183function isNumericArray (arr) {
184 return (
185 Array.isArray(arr) &&
186 (arr.length === 0 ||
187 typeof arr[0] === 'number'))
188}
189
190function isRectArray (arr) {
191 if (!Array.isArray(arr)) {

Callers 2

isPixelDataFunction · 0.85
parseImageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…