Optionalnotrue when the requested group has no active focus target.
Optionalnotrue when the current owner has no keyboard layer.
Optionalnotrue when no page, layer, or modal layer is currently active.
OptionalresultThe active focus entry, present when one was found.
Result of a
focusCurrentlookup.Each call reports exactly one outcome:
noOwnerwhen no page, layer, or modal layer is active;noLayerwhen the current owner has no keyboard layer;noFoundwhen the group has no active target; orresultwith the active focus entry. The flags are optional (rather than a strict discriminant) so callers can read.result?.idwithout narrowing.