Skip to content

Documentation / @ripl/3d / typeIsTexture

Function: typeIsTexture() ​

typeIsTexture(value): value is Texture

Defined in: 3d/src/core/texture.ts:226

Type guard that checks whether a value is a Texture.

Parameters ​

ParameterType
valueunknown

Returns ​

value is Texture