Type alias StringValidation

StringValidation: "email" | "url" | "emoji" | "uuid" | "regex" | "cuid" | "cuid2" | "ulid" | "datetime" | "ip" | {
    includes: string;
    position?: number;
} | {
    startsWith: string;
} | {
    endsWith: string;
}

Type declaration

  • includes: string
  • Optional position?: number

Type declaration

  • startsWith: string

Type declaration

  • endsWith: string

Generated using TypeDoc