Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

Functions

  • parseSafe(url: string): URL
  • Attempt to parse a URL without throwing an error.

    Parameters

    • url: string

      The string to parse.

    Returns URL

    The parsed URL if successful, otherwise null.