Skip to main content

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

NameType
positionPosition
directionDirection
hintsScopeIteratorRequirements
previousScopeundefined | TargetScope
scopeTargetScope

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