vtils

Home > vae > VaeSchema > enum

VaeSchema.enum() method

Signature:

enum(value: T[] | Record<any, T>, message?: VaeLocaleMessage): this;

Parameters

Parameter Type Description
value T[] | Record<any, T>  
message VaeLocaleMessage (Optional)

Returns:

this