Function.has_modifiers()

Returns true if the function has modifiers, otherwise returns false

has_modifiers() β†’ bool

Example

from glider import *

def query():
  # Retrieve a function with name _afterTokenTransfer
  functions = Functions().with_name('_afterTokenTransfer').exec(1)
  for function in functions:
    print(function.has_modifiers())

  return []

Output

"root":{1 item
"print_output":[1 item
0:string"False"
]
}

Last updated