Skip to main content

Module: processTargets/modifiers/targetSequenceUtils

Classes

Functions

createRangeTargetFromIndices

createRangeTargetFromIndices(isReversed, targets, startIndex, endIndex): Target

Construct a single range target between two targets in a list of targets, inclusive

Parameters

NameTypeDescription
isReversedboolean-
targetsTarget[]The list of targets to index into
startIndexnumberThe index of the target in {@link targets} that will form the start of the range
endIndexnumberThe index of the target in {@link targets} that will form the end of the range

Returns

Target

Defined in

processTargets/modifiers/targetSequenceUtils.ts:22


getEveryScopeTargets

getEveryScopeTargets(context, target, scopeType): Target[]

Parameters

NameType
contextProcessedTargetsContext
targetTarget
scopeTypeScopeType

Returns

Target[]

Defined in

processTargets/modifiers/targetSequenceUtils.ts:44