UNPKG

sussy-util

Version:
10 lines (9 loc) 370 B
/** * Checks if the given object has a property with the specified name. * * @param {Object} obj - The object to check for the property. * @param {string} prop - The name of the property to check. * @returns {boolean} True if the object has the property, false otherwise. */ declare const _default: (obj: object, prop: string) => boolean; export default _default;