Add a custom function to test the value with
import yxc from "@dotvirus/yxc"
yxc.string().test()
Allows null value
Allows undefined value
Alias for custom
Alias for custom
Alias for custom
Validate a value Returns a IValidationResult array
import yxc from "@dotvirus/yxc"
yxc.string().validate(myValue)
Generated using TypeDoc
Alias for custom