• import { searchGroupContent } from "@esri/arcgis-rest-portal";
    //
    searchGroupContent('water')
    .then(response) // response.total => 355

    Search a portal for items in a group. See the REST Documentation for more information.

    Parameters

    Returns Promise<ISearchResult<IItem>>

    A Promise that will resolve with the data from the response.