UNPKG
fliphub-monorepo
Version:
latest (0.1.3)
0.1.3
0.1.2
the builder of builders
github.com/fliphub/fliphub
fliphub/fliphub
fliphub-monorepo
/
modules
/
izz
/
bindable.js
7 lines
(6 loc)
•
216 B
JavaScript
View Raw
1
2
3
4
5
6
7
// 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'
) }