Function: searchPlaces()
ts
function searchPlaces(client, query): Promise<object[]>;Searches places by a free-text query, returning the matched locations.
Parameters
| Parameter | Type |
|---|---|
client | PrivateClient |
query | string |
Returns
Promise<object[]>