LogoPixi’VN
pixi-jsType aliases

Type Alias: TypeOrBool<T>

> TypeOrBool<T> = T | boolean

Defined in: node_modules/pixi.js/lib/scene/container/destroyTypes.d.ts:137

A utility type that allows a type to be either the specified type or a boolean. This is useful for options that can be either a specific value or a boolean flag.

Type Parameters

T

T

Advanced