Skip to content
FunctionTypes & Utilities@public

isParticlePresetValidationError ​

Return whether an error came from particle preset parsing.

ts
export declare function isParticlePresetValidationError(error: unknown): error is ParticlePresetValidationError

Parameters ​

ParameterTypeDescription
errorunknown-

Returns ​

error is ParticlePresetValidationError

Released under the MIT License.