Skip to content
FunctionTypes & Utilities@public

isParticleEffectValidationError ​

Narrow an unknown thrown value to a particle effect validation error.

ts
export declare function isParticleEffectValidationError(error: unknown): error is ParticleEffectValidationError

Parameters ​

ParameterTypeDescription
errorunknown-

Returns ​

error is ParticleEffectValidationError

Released under the MIT License.