• Compares two AGO items, fetching them if only their id is supplied.

    Parameters

    • item1: any

      First item or its AGO id

    • item2: any

      Second item or its AGO id

    • authentication: UserSession = null

      Credentials for the request to AGO

    Returns Promise<boolean>

    True if objects are the same

    See

    Only comparable properties are compared; see deleteItemProps() in the common package