UNPKG

sync-files

Version:

Synchronize files or folders locally, with a watch option

13 lines (11 loc) 298 B
/** * Checks if `value` is object-like. * * @private * @param {*} value The value to check. * @returns {boolean} Returns `true` if `value` is object-like, else `false`. */ function isObjectLike(value) { return (value && typeof value == 'object') || false; } module.exports = isObjectLike;