UNPKG

fliphub-monorepo

Version:
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') }