Function.is_constructor()

Returns true if the function is constructor, otherwise returns false.

is_constructor() → bool

Example

from glider import *

def query():
    constructors = (
      Functions()
      .exec(100)
      .filter(lambda x: x.is_constructor())
    )

    return constructors

Output

Last updated