s-private API Documentation - v3.8.1
    Preparing search index...
    ISBN: ZodPipe<
        ZodPipe<ZodString, ZodTransform<string, string>>,
        $ZodBranded<ZodString, "ISBN", "out">,
    > = ...

    Zod schema for validating ISBN identifiers.

    Normalizes the input by stripping all hyphens, then validates that the result is exactly 13 digits (ISBN-13). ISBN-10 is not supported.

    const isbn = ISBN.parse("978-4-06-521234-5"); // "9784065212345"
    const same = ISBN.parse("9784065212345"); // "9784065212345"

    makeISBN for factory function