MCPcopy
hub / github.com/processing/p5.js / isMatrixArray

Function isMatrixArray

src/math/Matrices/Matrix.js:17–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15
16export let GLMAT_ARRAY_TYPE = Array;
17export let isMatrixArray = x => Array.isArray(x);
18if (typeof Float32Array !== 'undefined') {
19 GLMAT_ARRAY_TYPE = Float32Array;
20 isMatrixArray = x => Array.isArray(x) || x instanceof Float32Array;

Callers 6

constructorMethod · 0.70
setMethod · 0.70
multMethod · 0.70
applyMethod · 0.70
#transpose4x4Method · 0.70
#invert4x4Method · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected