toMatrix

external fun toMatrix(): DOMMatrix(source)

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

MDN Reference