prorm API Reference
    Preparing search index...

    Type Alias ValidationMethod

    ValidationMethod: (value: any) => boolean | string | Error

    The name of a built-in validator, or a custom function.

    Type Declaration

      • (value: any): boolean | string | Error
      • Parameters

        • value: any

        Returns boolean | string | Error