mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 09:27:49 +00:00
Remove semicolons.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import isArguments from '../isArguments.js';
|
||||
import isArguments from '../isArguments.js'
|
||||
|
||||
/** Built-in value reference. */
|
||||
const spreadableSymbol = Symbol.isConcatSpreadable;
|
||||
const spreadableSymbol = Symbol.isConcatSpreadable
|
||||
|
||||
/**
|
||||
* Checks if `value` is a flattenable `arguments` object or array.
|
||||
@@ -12,7 +12,7 @@ const spreadableSymbol = Symbol.isConcatSpreadable;
|
||||
*/
|
||||
function isFlattenable(value) {
|
||||
return Array.isArray(value) || isArguments(value) ||
|
||||
!!(spreadableSymbol && value && value[spreadableSymbol]);
|
||||
!!(spreadableSymbol && value && value[spreadableSymbol])
|
||||
}
|
||||
|
||||
export default isFlattenable;
|
||||
export default isFlattenable
|
||||
|
||||
Reference in New Issue
Block a user