
export type DisableableType = HTMLInputElement | HTMLSelectElement;
export const isDisableable = (element: any): element is DisableableType => {
	return !!element.disable;
}

export type DisplayType = "none" | "inline" | "block";

export type SelectPopulator = {
	selectId: string;
	items: Record<string, string|number|object>[];
	keyLabel: string;
	valueLabel: string;
	selectedKey?: number;
	emptyOption?:boolean;
}