@rws-air/utils
Version:
Utilities for rws-air libraries and applications
10 lines • 408 B
TypeScript
/**
* Type safely checks if an object includes a given property without using the prototype
* @param obj Object to analyze
* @param prop Property to check for
* @deprecated use Reflect API instead
* @example Reflect.has(obj, prop)
* @example objectHasProperty(obj, prop)
*/
export declare const objectHasProperty: (obj: unknown, prop: never) => boolean;
//# sourceMappingURL=ObjectHasProperty.d.ts.map