The is2D read-only property of the CSSTransformComponent interface indicates where the transform is 2D or 3D.
is2D
MDN Reference