Module: processTargets/modifiers/scopeHandlers/shouldYieldScope
Functions
shouldYieldScope
▸ shouldYieldScope(position
, direction
, hints
, previousScope
, scope
): boolean
This function is used to filter out scopes that don't meet the required criteria.
Parameters
Name | Type |
---|---|
position | Position |
direction | Direction |
hints | ScopeIteratorRequirements |
previousScope | undefined | TargetScope |
scope | TargetScope |
Returns
boolean
true
if {@link scope} meets the criteria laid out in
{@link hints}, as well as the default semantics.
Defined in
processTargets/modifiers/scopeHandlers/shouldYieldScope.ts:20