@storm-stack/types
Version:
⚡ The storm-stack monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.
17 lines (16 loc) • 690 B
TypeScript
/**
* Check if the provided object has the provided property
*
* @param object - The object to check
* @param propertyKey - The property to check
* @returns An indicator specifying if the object has the provided property
*/
export declare const propertyExists: (object: any, propertyKey: PropertyKey) => boolean;
/**
* Check if the provided object has the provided property and if it's safe to merge
*
* @param object - The object to check
* @param propertyKey - The property to check
* @returns An indicator specifying if the object has the provided property and if it's safe to merge
*/
export declare const propertyUnsafe: (object: any, propertyKey: PropertyKey) => boolean;