@omnia/fx
Version:
Provide Omnia Fx typings and tooling for clientside Omnia development.
18 lines (17 loc) • 537 B
TypeScript
import { LayoutItem } from "../../../models";
/**
* Rules to check object typeings
* */
export declare const LayoutItemRules: {
/**
* Check if an item is an instance of a SectionRegistration
* @param item to type check
*/
isLastChildItem(child: LayoutItem, parent: LayoutItem): boolean;
/**
* Check if an item is an instance of a SectionRegistration
* @param item to type check
*/
isParent(child: LayoutItem, parent: LayoutItem): boolean;
isTopContainer(item: LayoutItem): boolean;
};