文件名称:isndarray:返回boolean参数是否为ndarray
文件大小:3KB
文件格式:ZIP
更新时间:2024-06-09 02:57:34
JavaScript
isndarray 返回boolean参数是否为 。 例子 var isnd = require ( 'isndarray' ) var ndarray = require ( 'ndarray' ) true === isnd ( ndarray ( new Int8Array ( 32 * 32 ) , [ 32 , 32 ] ) ) true === isnd ( ndarray ( new Float64Array ( 32 ) ) ) true === isnd ( ndarray ( new Uint32Array ( 4 * 4 * 4 ) , [ 4 , 4 , 4 ] ) ) false === isnd ( new Int8Array ( 32 * 32 ) , [ 32 , 32 ] ) false === isnd ( new View3dtrick16 ( )
【文件预览】:
isndarray-master
----.gitignore(15B)
----LICENSE-MIT(1KB)
----README.md(921B)
----package.json(720B)
----index.js(201B)
----test.js(502B)