import { searchGroups } from "@esri/arcgis-rest-portal";//searchGroups('water') .then(response) // response.total => 355 Copy
import { searchGroups } from "@esri/arcgis-rest-portal";//searchGroups('water') .then(response) // response.total => 355
Search a portal for groups. See the REST Documentation for more information.
A string or RequestOptions object to pass through to the endpoint.
A Promise that will resolve with the data from the response.
Search a portal for groups. See the REST Documentation for more information.