@launchmenu/core
Version:
An environment for visual keyboard controlled applets
12 lines • 629 B
TypeScript
import { IDataHook } from "model-react";
import { IAction } from "../_types/IAction";
import { IActionTarget } from "../_types/IActionTarget";
/**
* Checks whether an action target has bindings (directly or indirectly) for a given action
* @param action The action to find bindings for
* @param targets The target to find the bindings on
* @param hook The data hook to subscribe to changes
* @returns Whether a binding was found
*/
export declare function hasActionBindingFor(action: IAction, targets: IActionTarget[] | IActionTarget, hook?: IDataHook): boolean;
//# sourceMappingURL=hasActionBindingFor.d.ts.map