Function getReflectionParentMatching
- getReflectionParentMatching<T>(reflection: Reflection, filter: ((reflection: Reflection) => reflection is T)): undefined | T
-
Parameters
-
reflection: Reflection
-
filter: ((reflection: Reflection) => reflection is T)
-
- (reflection: Reflection): reflection is T
-
Returns reflection is T
Returns undefined | T
- getReflectionParentMatching(reflection: Reflection, filter: ((reflection: Reflection) => boolean)): undefined | Reflection
-
Parameters
-
reflection: Reflection
-
filter: ((reflection: Reflection) => boolean)
-
- (reflection: Reflection): boolean
-
Returns boolean
Returns undefined | Reflection