MCPcopy 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
12def id_equals(id: str) -> Selector:
13 return lambda element, _: element.get("attributes", {}).get("id") == id
14
15
16def class_equals(class_name: str) -> Selector:

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected