UNPKG

vuetube

Version:

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

19 lines (16 loc) 269 B
/** * Return typeof value */ function toType(value: unknown): string { return typeof value; } /** * Check is typeof value is function */ function isFunction(value: unknown): boolean { return toType(value) === 'function'; } export { toType, isFunction, };