UNPKG

izz

Version:

is type shorthands for fliphub, hundreds of type checks, modular exports

7 lines (6 loc) 216 B
// checks if the function can be bound // @example `() => {}` cannot be bound // @example `function() {}` can be bound module.exports = function isBindable(func) { return func && func.hasOwnProperty('prototype') }