is2D

The read-only is2D property of the CSSTransformValue interface returns whether the transform is 2D or 3D.

MDN Reference