/unmethodify

Unmethodify functions

Primary LanguageJavaScriptMIT LicenseMIT

unmethodify

Usage

var unmethodify = require('unmethodify')
var hasOwnProperty = unmethodify(Object.property.hasOwnProperty)

var obj = {
  foo: 'bar'
}

hasOwnProperty(obj, 'foo') // true
hasOwnProperty(obj, 'baz') // false