import { Prop } from '../typings/types'; interface Has { (s: K, obj: any): boolean; (s: K): (obj: any) => boolean; } /** * Returns whether or not an object has an own property with the specified name * * @param {String} prop The name of the property to check for. * @param {Object} obj The object to query. * @return {Boolean} Whether the property exists. * @example * * var hasName = has('name'); * hasName({name: 'alice'}); //=> true * hasName({name: 'bob'}); //=> true * hasName({}); //=> false */ export declare const has: Has; export default has;