bupkis
    Preparing search index...

    Interface $ZodEmojiDef

    interface $ZodEmojiDef {
        type: "string";
        coerce?: boolean;
        checks?: z.core.$ZodCheck<string>[];
        error?: $ZodErrorMap<never>;
        check: "string_format";
        format: "emoji";
        pattern?: RegExp;
        abort?: boolean;
        when?: (payload: ParsePayload) => boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    type: "string"
    coerce?: boolean
    checks?: z.core.$ZodCheck<string>[]
    error?: $ZodErrorMap<never>
    check: "string_format"
    format: "emoji"
    pattern?: RegExp
    abort?: boolean

    If true, no later checks will be executed if this check fails. Default false.

    when?: (payload: ParsePayload) => boolean

    If provided, this check will only be executed if the function returns true. Defaults to payload => z.util.isAborted(payload).