@servicenow/sdk - v4.14.3
    Preparing search index...
    interface $ZodCustomDef<O = unknown> {
        abort?: boolean;
        check: "custom";
        checks?: $ZodCheck<never>[];
        error?: $ZodErrorMap<$ZodIssue>;
        fn: (arg: O) => unknown;
        params?: Record<string, any>;
        path?: PropertyKey[];
        type: "custom";
        when?: (payload: ParsePayload) => boolean;
    }

    Type Parameters

    • O = unknown

    Hierarchy (View Summary)

    Index

    Properties

    abort?: boolean

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

    check: "custom"
    checks?: $ZodCheck<never>[]
    fn: (arg: O) => unknown
    params?: Record<string, any>
    path?: PropertyKey[]
    type: "custom"
    when?: (payload: ParsePayload) => boolean

    If provided, the check runs only when this returns true. By default, it is skipped if prior parsing produced aborting issues.