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
isSet.js
4
isSet.js
@@ -20,7 +20,7 @@ const nodeIsSet = nodeUtil && nodeUtil.isSet
|
||||
* // => false
|
||||
*/
|
||||
const isSet = nodeIsSet
|
||||
? value => nodeIsSet(value)
|
||||
: value => typeof value == 'object' && value != null && getTag(value) == '[object Set]'
|
||||
? (value) => nodeIsSet(value)
|
||||
: (value) => typeof value == 'object' && value != null && getTag(value) == '[object Set]'
|
||||
|
||||
export default isSet
|
||||
|
||||
Reference in New Issue
Block a user