UNPKG

better-npm-init

Version:

A better version of npm init, with templates and more. Usage: better-npm-init <template> [--yarn] [--install] [--git] [--yes] [--help]

8 lines (7 loc) 203 B
/** * Returns true if the object is a function. * @param value The value to check */ export function isFunction(value: any): value is (...args: any[]) => any { return typeof value === 'function'; }