Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "IsCreditCard"

Index

Functions

Functions

isCreditCard

  • isCreditCard(value: string): boolean
  • Checks if the string is a credit card. If given value is not a string, then it returns false.

    Parameters

    • value: string

      The value being checked.

    Returns boolean

    True if the string is a credit card, false otherwise.

Generated using TypeDoc