Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

Functions

Const isUrl

  • isUrl(val: string): boolean
  • Checks for a valid URL.

    example

    isUrl('http://example.com'); // true isUrl('http://not url dot com'); // false isUrl(true); // false

    Parameters

    • val: string

      The value to check.

    Returns boolean

    Whether the value is an URL.

Legend

  • Function

Generated using TypeDoc