• Asserts and narrows the type for Zod SafeParseReturnType to a SafeParseError.

    Type Parameters

    • Input
    • Output

    Parameters

    • value: Readonly<SafeParseReturnType<Input, Output>>

      The SafeParseReturnType value to check

    Returns asserts value is SafeParseError<Input>

    for SafeParseSuccess.