@cartridge-engine/keyboard-engine
    Preparing search index...

    Interface FocusCurrentResult

    Result of a focusCurrent lookup.

    Each call reports exactly one outcome: noOwner when no page, layer, or modal layer is active; noLayer when the current owner has no keyboard layer; noFound when the group has no active target; or result with the active focus entry. The flags are optional (rather than a strict discriminant) so callers can read .result?.id without narrowing.

    interface FocusCurrentResult {
        noFound?: boolean;
        noLayer?: boolean;
        noOwner?: boolean;
        result?: FocusResult;
    }
    Index
    noFound?: boolean

    true when the requested group has no active focus target.

    noLayer?: boolean

    true when the current owner has no keyboard layer.

    noOwner?: boolean

    true when no page, layer, or modal layer is currently active.

    result?: FocusResult

    The active focus entry, present when one was found.