The API reference is a Work in Progress and will be continuously improved and extended. We'd love to hear your feedback in our documentation repository.
Home > @edtr-io/store > hasFocusedChild
hasFocusedChild variable
[[Selector]] that checks whether the document with the given id has a
focused child. In contrast to [[hasFocusedDescendant]], this only returns
true
if the focused document is a direct child of the document.
hasFocusedChild: Selector<boolean, [string]>