Home > vae > VaeSchema > custom
Signature:
custom(fn: (value: T) => boolean | void, messageOrOptions?: VaeLocaleMessage | {
message?: VaeLocaleMessage;
path?: DotPath<T>;
tag?: string;
}): this;
Parameter | Type | Description |
---|---|---|
fn | (value: T) => boolean | void | |
messageOrOptions | VaeLocaleMessage | { message?: VaeLocaleMessage; path?: DotPath<T>; tag?: string; } | (Optional) |
Returns:
this