Invalidate an input
The validated type
The raw input
The validation errors
invalidate("1", "Not a number") >> { valid: false, input: "", parsed: null, error: "Not a number", }; Copy
invalidate("1", "Not a number") >> { valid: false, input: "", parsed: null, error: "Not a number", };
Invalidate an input