Class: ForloopDrop

Hierarchy

Constructors

constructor

+ new ForloopDrop(length: number, collection: string, variable: string): ForloopDrop

Defined in drop/forloop-drop.ts:6

Parameters:

Name Type
length number
collection string
variable string

Returns: ForloopDrop

Properties

Protected i

i: number = 0

Defined in drop/forloop-drop.ts:4


length

length: number

Defined in drop/forloop-drop.ts:6


name

name: string

Defined in drop/forloop-drop.ts:5

Methods

first

first(): boolean

Defined in drop/forloop-drop.ts:21

Returns: boolean


index

index(): number

Defined in drop/forloop-drop.ts:18

Returns: number


index0

index0(): number

Defined in drop/forloop-drop.ts:15

Returns: number


last

last(): boolean

Defined in drop/forloop-drop.ts:24

Returns: boolean


liquidMethodMissing

liquidMethodMissing(key: string): Promise‹string | undefined› | string | undefined

Inherited from Drop.liquidMethodMissing

Defined in drop/drop.ts:6

Parameters:

Name Type
key string

Returns: Promise‹string | undefined› | string | undefined


next

next(): void

Defined in drop/forloop-drop.ts:12

Returns: void


rindex

rindex(): number

Defined in drop/forloop-drop.ts:27

Returns: number


rindex0

rindex0(): number

Defined in drop/forloop-drop.ts:30

Returns: number


valueOf

valueOf(): string

Overrides Drop.valueOf

Defined in drop/forloop-drop.ts:33

Returns: string