@loken/hierarchies
Version:
Library for working with hierarchies of identifiers and identifiable objects.
10 lines • 426 B
TypeScript
import type { Predicate } from '@loken/utilities';
import type { HCNode } from './node.js';
/**
* Delegate that can be called in order to remove the "brand" from
* the node that returned this delegate when it was branded.
*/
export type DeBrand = () => void;
/** Predicate which determines whether the `node` is a match. */
export type NodePredicate<Item> = Predicate<HCNode<Item>>;
//# sourceMappingURL=node.types.d.ts.map