Function getUrlQueryParam

  • Get URL query parameter. If not found, return default value. Similar to PHP's $_GET

    Parameters

    • p: string

      parameter name to get

    • def: any = null

      default value if parameter not found

    Returns any