UNPKG

@thangk/easythemer

Version:

Easily generate shades from a colour palette for use in your app

22 lines (21 loc) 604 B
/** * ValidateObjectKeysSize * @param object1 * @param object2 * @getters getResult(), hasErrors(), getErrorsList() * @result boolean * @description Validates if two objects have the same amount of keys */ export default class ValidateObjectKeysSize<T extends Object> { private result; private errors; private errmsg; constructor(object1: T, object2: T); get getResult(): boolean; get hasErrors(): boolean; get getErrorsList(): string[]; private showErrors; private isObjectKeysSizeEqual; private addError; private setErrorState; }