Instruction.is_placeholder()
Returns true if the instruction is placeholder instruction, otherwise returns false. A placeholder instruction is generally found in modifiers
is_placeholder() -> bool
Query Example
from glider import *
def query():
ins = (
Modifiers()
.exec(1)
.instructions()
.exec()
.filter(lambda x: x.is_placeholder())
)
return insWith 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