is2D

external val is2D: Boolean(source)

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

MDN Reference