valid-callable.js
 1  'use strict';
 2  
 3  var isCallable = require('./is-callable');
 4  
 5  module.exports = function (fn) {
 6  	if (!isCallable(fn)) {
 7  		throw new TypeError(fn + " is not a function");
 8  	}
 9  	return fn;
10  };