Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "IsURL"

Index

Type aliases

Functions

Type aliases

IsURLOptions

IsURLOptions: vtsIsURLOptions

Functions

isURL

  • isURL(value: string, options?: vtsIsURLOptions): boolean
  • Checks if the string is an url. If given value is not a string, then it returns false.

    Parameters

    • value: string

      The value being checked.

    • Optional options: vtsIsURLOptions

      The optional configuration options {@link ValidatorJS.IsURLOptions}

    Returns boolean

    True if the string is an url, false otherwise.

Generated using TypeDoc