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

    Type Parameters

    • Input
    • Output

    Parameters

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

      The SafeParseReturnType value to check

    Returns asserts value is SafeParseSuccess<Output>

    for SafeParseError.