Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "IsISBN"

Index

Functions

Functions

isISBN

  • isISBN(value: string, version?: "10" | "13"): boolean
  • Checks if the string is an ISBN (version 10 or 13). If given value is not a string, then it returns false.

    Parameters

    • value: string

      The value being checked.

    • Optional version: "10" | "13"

    Returns boolean

    True if the string is an ISBN, false otherwise.

Generated using TypeDoc