Class: ForLoopDrop
Implements
LiquidDispatchableSync
Iterable
<unknown
>
Constructors
new ForLoopDrop()
new ForLoopDrop(
name
,it
,length
,parentloop
):ForLoopDrop
Parameters
• name: string
• it: Iterator
<unknown
, any
, undefined
>
• length: number
• parentloop: Undefined
| ForLoopDrop
Returns
Defined in
src/builtin/drops/forloop.ts:20
Properties
it
readonly
it:Iterator
<unknown
,any
,undefined
>
Defined in
src/builtin/drops/forloop.ts:22
length
readonly
length:number
Defined in
src/builtin/drops/forloop.ts:23
name
readonly
name:string
Defined in
src/builtin/drops/forloop.ts:21
parentloop
readonly
parentloop:Undefined
|ForLoopDrop
Defined in
src/builtin/drops/forloop.ts:24
Accessors
first
get
first():boolean
Returns
boolean
Defined in
src/builtin/drops/forloop.ts:65
index
get
index():number
Returns
number
Defined in
src/builtin/drops/forloop.ts:49
index0
get
index0():number
Returns
number
Defined in
src/builtin/drops/forloop.ts:53
last
get
last():boolean
Returns
boolean
Defined in
src/builtin/drops/forloop.ts:69
rindex
get
rindex():number
Returns
number
Defined in
src/builtin/drops/forloop.ts:57
rindex0
get
rindex0():number
Returns
number
Defined in
src/builtin/drops/forloop.ts:61
Methods
[iterator]()
[iterator]():
Iterator
<unknown
,any
,undefined
>
Returns
Iterator
<unknown
, any
, undefined
>
Implementation of
Iterable.[iterator]
Defined in
src/builtin/drops/forloop.ts:27
[liquidDispatchSync]()
[liquidDispatchSync](
name
):unknown
Parameters
• name: string
Returns
unknown
Implementation of
LiquidDispatchableSync
.[liquidDispatchSync]
Defined in
src/builtin/drops/forloop.ts:36
step()
step():
void
Returns
void
Defined in
src/builtin/drops/forloop.ts:45
toString()
toString():
string
Returns a string representation of an object.
Returns
string