toMatrix

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

MDN Reference