Home > @skunkteam/types > LiteralType > typeValidator
The actual validation-logic.
Signature:
protected typeValidator(input: unknown): Result<ResultType>;
Parameter | Type | Description |
---|---|---|
input | unknown | the input value to be validated |
Returns:
Result<ResultType>