Contract.is_lib()

Returns true if the Contract is a library, false otherwise.

is_lib() → bool

Example query

from glider import *

def query():
  libs = Contracts().exec(10).filter(lambda x: x.is_lib())

  return libs

Example output

Last updated