Type alias StringValidation
StringValidation: "email" | "url" | "emoji" | "uuid" | "nanoid" | "regex" | "cuid" | "cuid2" | "ulid" | "datetime" | "date" | "time" | "duration" | "ip" | "base64" | {
includes: string;
position?: number;
} | {
startsWith: string;
} | {
endsWith: string;
}
Type declaration
includes: string
Optional
position?: number