Returns true if the state variable is constant, otherwise returns false.
is_constant() → bool
from glider import * def query(): state_variables = ( StateVariables() .exec(20) .filter(lambda state_variable: state_variable.is_constant()) ) print(state_variables[0].source_code()) return state_variables
Last updated 4 months ago