Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "IsCurrency"

Index

Type aliases

Functions

Type aliases

IsCurrencyOptions

IsCurrencyOptions: vtsIsCurrencyOptions

Rexport IsCurrencyOptions

Functions

isCurrency

  • isCurrency(value: string, options?: vtsIsCurrencyOptions): boolean
  • Checks if the string is a valid currency amount. If given value is not a string, then it returns false.

    Parameters

    • value: string

      The value being checked.

    • Optional options: vtsIsCurrencyOptions

      The options configuration IsCurrencyOptions

    Returns boolean

    True if the string is a valid currency amount, false otherwise.

Generated using TypeDoc