UNPKG

@widergy/web-utils

Version:
14 lines (13 loc) 760 B
import { AllValuesInterface } from './constants/commonInterfaces'; export declare const objectIsEmpty: (object: any) => boolean; export declare const findKey: (object: any, predicate: any) => any; export declare const objectKeysToCamel: (object: AllValuesInterface) => any; export declare const objectValuesContainWord: (object: AllValuesInterface, word: string, keysToFilter?: string[]) => boolean; interface ObjectUtils { objectIsEmpty: (object: any) => boolean; findKey: (object: any, predicate: any) => any; objectKeysToCamel: (object: AllValuesInterface) => any; objectValuesContainWord: (object: AllValuesInterface, word: string, keysToFilter: string[]) => boolean; } declare const OBJECT_UTILS: ObjectUtils; export default OBJECT_UTILS;