Instruction.is_placer()
Returns true if the instruction is placeholder instruction, otherwise returns false. A placeholder instruction is generally found in modifiers
is_placer()
-> bool
Query Example
from glider import *
def query():
ins = (
Modifiers()
.exec(1)
.instructions()
.exec()
.filter(lambda x: x.is_placer())
)
return ins
With the Glider 1.0 update, calling the exec
function returns an APIList
[
Instruction
]
. You can then use Instruction
functions, which are applied to each element of the APIList
[
Instruction
]
Output Example

Last updated