@n3okill/utils
Version:
Many javascript helpers
8 lines (7 loc) • 298 B
TypeScript
/**
* Return true if a property in the given object is not undefined
* @param obj Object where to search for the property
* @param name The name of the property can be on the form "a.b.c[1].d"
* @returns {boolean}
*/
export declare function isPropertyDefined(obj: any, name: string): boolean;