Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BasisResearch/lean.py
/ is_sort
Function
is_sort
lean_py/z3/core.py:2551–2553 ·
view source on GitHub ↗
True if a is a sort reference.
(a: object)
Source
from the content-addressed store, hash-verified
2549
2550
2551
def
is_sort(a: object) -> bool:
2552
""
"True if a is a sort reference."
""
2553
return
isinstance(a, SortRef)
2554
2555
2556
def
is_app(a: object) -> bool:
Callers
1
test_is_sort
Method · 0.90
Calls
no outgoing calls
Tested by
1
test_is_sort
Method · 0.72