Skip to content

Documentation / @ripl/3d / contextIsContext3D

Function: contextIsContext3D() ​

contextIsContext3D(value): value is Context3D

Defined in: 3d/src/core/context.ts:641

Type guard that checks whether a rendering context is a Context3D.

Parameters ​

ParameterType
valueunknown

Returns ​

value is Context3D