import { notBytes } from "https://deno.land/x/valibot@v1.0.0-beta.7/src/actions/index.ts";
Creates a not bytes validation action.
Parameters
requirement: TRequirement
The not required bytes.
Returns
NotBytesAction<TInput, TRequirement, undefined>
A not bytes action.
Creates a not bytes validation action.
Type Parameters
TMessage extends ErrorMessage<NotBytesIssue<TInput, TRequirement>> | undefined
Parameters
requirement: TRequirement
The not required bytes.
message: TMessage
The error message.
Returns
A not bytes action.