includes()
Validates that the string contains the specified substring.
includes(str: string, error?: StringConvertible): this;
Parameters
- str — The substring to check for.
- error — Custom error message.
Return value
This builder, for chaining.
Related
interface Schema.StringBuilder static
A validation builder for string values.
