Function: getCollectionByPathOrId()
getCollectionByPathOrId(
pathOrId
,collections
):EntityCollection
|undefined
Find the corresponding view at any depth for a given path. Note that path or segments of the paths can be collection aliases.
Parameters​
• pathOrId: string
• collections: EntityCollection
<any
, any
>[]
Returns​
EntityCollection
| undefined