| kind | = | "Sequence Drop" |
Mimics
Inactive cells
Active cells
Specs
Inactive cells (details)
Active cells (details)
nil
[ show source ]
method(
if(@ current?,
@ current? = false
@ cell(:current),
while(@ wrappedSequence next?,
n = @ wrappedSequence next
x = transformValue(cell(:n))
if(
if(restArguments [](0) ==(0), true, restArguments [](0) = restArguments [](0) -(1)
false),
return(
cell(:n))))
)
)
nil
[ show source ]
method(
if(@ current?,
true,
while(@ wrappedSequence next?,
n = @ wrappedSequence next
x = transformValue(cell(:n))
if(
if(restArguments [](0) ==(0), true, restArguments [](0) = restArguments [](0) -(1)
false),
@ current? = true
@ current = cell(:n)
return(true)
)
)
false)
)