mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 00:57:48 +00:00
Consistent use (always) of parentheses in arrow functions.
This commit is contained in:
4
isMap.js
4
isMap.js
@@ -21,7 +21,7 @@ const nodeIsMap = nodeUtil && nodeUtil.isMap
|
||||
* // => false
|
||||
*/
|
||||
const isMap = nodeIsMap
|
||||
? value => nodeIsMap(value)
|
||||
: value => isObjectLike(value) && getTag(value) == '[object Map]'
|
||||
? (value) => nodeIsMap(value)
|
||||
: (value) => isObjectLike(value) && getTag(value) == '[object Map]'
|
||||
|
||||
export default isMap
|
||||
|
||||
Reference in New Issue
Block a user