Skip to content

QingWei-Li/in-own

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

in-own

Build Status Coverage Status npm

A safer hasOwnProperty wrapper

Installation

npm i in-own -S

Usage

import inOwn from 'in-own'
var obj = { key: 'value', age: 18 }
var inObj = inOwn(obj)

inObj('key') // => true
inObj('gender') // => false

License

MIT

About

A safer hasOwnProperty wrapper.

Resources

License

Stars

Watchers

Forks

Packages

No packages published