toMatrix

external fun toMatrix(): DOMMatrix(source)

The toMatrix() method of the CSSTransformValue interface returns a DOMMatrix object.

MDN Reference