MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / verifyTransformMatrix

Function verifyTransformMatrix

packages/core/matrix/index.ts:52–56  ·  view source on GitHub ↗
(matrix: number[])

Source from the content-addressed store, hash-verified

50}
51
52function verifyTransformMatrix(matrix: number[]) {
53 if (matrix.length < 6) {
54 throw new Error('Transform matrix should be 2x3.');
55 }
56}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected