is2D

abstract external var is2D: Boolean?(source)

MDN Reference