UNPKG
@antv/coord
Version:
beta (0.3.0-beta.1)
latest (0.4.7)
0.4.7
0.4.6
0.4.5
0.4.4
0.4.3
0.4.2
0.4.1
0.4.0
0.4.0-beta.3
0.4.0-beta.2
0.4.0-beta.1
0.3.1
0.3.0
0.3.0-beta.1
0.2.7
0.2.6
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.0
0.0.3
0.0.2
Toolkit for mapping elements of sets into geometric objects.
github.com/antvis/coord
antvis/coord
@antv/coord
/
src
/
utils
/
isMatrix.ts
6 lines
(4 loc)
•
185 B
text/typescript
View Raw
1
2
3
4
5
6
import
{
Matrix3
}
from
'../type'
;
export
function
isMatrix
(
transformer: any
): transformer is
Matrix3
{
return
transformer
instanceof
Float32Array
|| transformer
instanceof
Array
; }