Function.Find Parent by Feature
sprotty / findParentByFeature
findParentByFeature<
T
>(element
,predicate
):undefined
|SModelElementImpl
&T
Defined in: packages/sprotty/src/base/model/smodel-utils.ts:52
Find a parent element that implements the feature identified with the given predicate.
T
(t
) => t is SModelElementImpl & T
undefined
| SModelElementImpl
& T