firstScopeIsInstanceOrNull
Tries to find the first scope that is an instance of the scope type T. Calls firstScopeOrNull internally.
Parameters
searchScope
the scope to start the search in
Tries to find the first scope that is an instance of the scope type T. Calls firstScopeOrNull internally.
the scope to start the search in