isUserFollowing
Whether the user is currently following the entity
Parameters
| Parameter | Type | Default | Notes |
|---|---|---|---|
| entityOrId Required | IWithFollowers | string |
hub entity or entity id, type is IWithFollowers as we only want to accept hub entities backed by item entities which extend IWithFollowers |
|
| user Required | IUser | ||
| entityType Optional | HubEntityType | ||
| context Optional | IArcGISContext |
Returns
Promise<boolean>
Function defined in packages/common/src/items/follow.ts:46