UNPKG

vuetube

Version:

A fast, lightweight, lazyload vue component acting as a thin layer over the YouTube IFrame Player API which renders fast

17 lines (13 loc) 230 B
/** * Return typeof value */ function toType(value) { return typeof value; } /** * Check is typeof value is function */ function isFunction(value) { return toType(value) === 'function'; } export { isFunction, toType };