Skip to content

Function: isArgsValidationError()

Check whether the given value is an ArgsValidationError.

Signature

ts
declare function isArgsValidationError(error: unknown): error is ArgsValidationError

Parameters

NameTypeDescription
errorunknownvalue to check

Returns

error is ArgsValidationErrortrue when the value is an ArgsValidationError

Released under the MIT License.