function wrapfunction(fn, message) {
  if (typeof fn !== 'function') {
    throw new TypeError('argument fn must be a function')
  }

  return fn
}
/**
 * Return a wrapped function in a deprecation message.
 *
 * This is a no-op version of the wrapper, which does nothing but call
 * validation.
 */
Return a wrapped function in a deprecation message.
This is a no-op version of the wrapper, which does nothing but call
validation.
Return a wrapped function in a deprecation message . This is a no - op version of the wrapper which does nothing but call validation .
function wrapfunction(fn, message) {
  if (typeof fn !== 'function') {
    throw new TypeError('argument fn must be a function')
  }
  return fn
}
function wrapfunction ( fn , message ) { if ( typeof fn !== 'function' ) { throw new TypeError ( 'argument fn must be a function' ) } return fn }
Return a wrapped function in a deprecation message.
Return a wrapped function in a deprecation message .