Vinyl
    Preparing search index...
    • Creates a validator that asserts that the input is one of the values of the given enum.

      Type Parameters

      Parameters

      • enumObject: T

        The enum to validate against.

      Returns ValueSchema<T[keyof T]>