@primno/core
Version:
Front-end framework for Model-Driven Apps of Power Apps and Dynamics 365.
15 lines (14 loc) • 456 B
TypeScript
import { Control, Scope } from "../typing";
/**
* Gets the scope of a control.
* @param control Control
* TODO: Move to utils ?
*/
export declare function getScopeFromControl(control: Control): Promise<Scope>;
/**
* Indicates if a scope is included in another one.
* @param first Reference
* @param second Scope maybe included
* @returns true if included otherwise false
*/
export declare function isInScope(first: Scope, second: Scope): boolean;