Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/reactive-python/reactpy
/ id_equals
Function
id_equals
src/py/reactpy/tests/tooling/select.py:12–13 ·
view source on GitHub ↗
(id: str)
Source
from the content-addressed store, hash-verified
10
11
12
def
id_equals(id: str) -> Selector:
13
return
lambda
element, _: element.get(
"attributes"
, {}).get(
"id"
) == id
14
15
16
def
class_equals(class_name: str) -> Selector:
Callers
nothing calls this directly
Calls
1
get
Method · 0.45
Tested by
no test coverage detected