extractObjectPaths
Overview
Extracts object paths (those ending with a specific suffix, like .detail).
Signature
extractObjectPaths(paths, suffix)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| paths | string[] | yes | Paths to process. |
| suffix | string | yes | The suffix to look for. |
Returns
string[]
Array of object paths.
Source
client/lib/utils/errors.js:173