MCPcopy Create free account
hub / github.com/BasisResearch/lean.py / is_var

Function is_var

lean_py/z3/core.py:2490–2491  ·  view source on GitHub ↗
(a: ExprRef)

Source from the content-addressed store, hash-verified

2488
2489
2490def is_var(a: ExprRef) -> bool:
2491 return isinstance(a._ast, _AstVar)
2492
2493
2494def is_quantifier(a: ExprRef) -> bool:

Callers 4

test_string_variableMethod · 0.90
test_is_const_varMethod · 0.90
test_is_const_varMethod · 0.90

Calls

no outgoing calls

Tested by 4

test_string_variableMethod · 0.72
test_is_const_varMethod · 0.72
test_is_const_varMethod · 0.72