Options
All
  • Public
  • Public/Protected
  • All
Menu

isrc-tools

Index

Enumerations

Classes

Functions

Functions

Const validateISRC

  • validateISRC(isrcString: string): Promise<void>
  • Validates a full ISRC code (passed in a string). Resolves if valid. If invalid, throws an error with the reason.

    NOTE: This function validates the ISRC code's format, but does not currently validate against a list of valid country codes. Will likely add this functionality in a future release.

    Parameters

    • isrcString: string

      The full ISRC code as a string.

    Returns Promise<void>

Generated using TypeDoc