UNPKG

just-has

Version:

return a boolen indicating the existence of a deep property, don't throw if parent is undefined

4 lines (3 loc) 189 B
// Definitions by: daniel0mullins <https://github.com/daniel0mullins> declare function has(obj: object | undefined, propsArg: Array<string> | Symbol | string): boolean; export default has;