Skip to main content

Cycle

Defined in: cr/component/cycle.ts:6

Extends

Extended by

Properties

position

position: number

Defined in: cr/component/cycle.ts:14

Absolute position within the linear cycle for this object.

Methods

isWildcard()

isWildcard(): boolean

Defined in: cr/component/base.ts:11

Returns

boolean

Inherited from

Base.isWildcard


next()

next(): Cycle

Defined in: cr/component/cycle.ts:44

Return the next object in the cycle

Returns

Cycle


shift()

shift(incremental): Cycle

Defined in: cr/component/cycle.ts:52

Move an incremental number of steps in the cycle, and return the object found there.

Parameters

incremental

number

The number of steps to move through in the cycle.

Returns

Cycle


toString()

toString(): string

Defined in: cr/component/cycle.ts:80

Render this cycle object as a string

Returns

string

Overrides

Base.toString


validate()

abstract validate(): boolean

Defined in: cr/component/cycle.ts:84

Returns

boolean