fetchGroups
Retrieves all groups the server belongs to.
Signatures
beacon.fetchGroups();
Return Values
Type | Notes |
---|---|
Array | An array of Group objects. It is possible for the array to be empty. |
Examples
Fetch all groups the server belongs to
const groups = beacon.fetchGroups();