Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/reactive-python/reactpy
/ empty
Method
empty
src/py/reactpy/reactpy/core/hooks.py:465–471 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
463
deps: Sequence[Any]
464
465
def
empty(self) -> bool:
466
try
:
467
self.value
# noqa: B018
468
except
AttributeError:
469
return
True
470
else
:
471
return
False
472
473
474
def
use_ref(initial_value: _Type) -> Ref[_Type]:
Callers
1
use_memo
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected