Function extractToken

  • Extracts the token or id from a url or path.

    Parameters

    • url: string

      Url to extract the token from.

    Returns string

    The token.