Import
import { enabledItems } from "@typed/ui/Collection";Signatures
export declare function enabledItems<ItemType extends Item<unknown, object>>(items: readonly ItemType[]): readonly ItemType[];Why
Separating this deterministic policy from event wiring lets applications test it directly and reuse it in custom composites.
Ownership and lifetime
This is a synchronous calculation. It acquires no resources and does not mutate the input array, state, event, or DOM.
Examples
import * as Collection from "@typed/ui/Collection";
const enabled = Collection.enabledItems([{ id: "a" }, { id: "b", disabled: true }]);Other public imports
These import paths expose the same declaration. Each page retains its own public name and signature.