mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 08:07:50 +00:00
Consistent use (always) of parentheses in arrow functions.
This commit is contained in:
@@ -23,7 +23,7 @@ const nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray
|
||||
* // => false
|
||||
*/
|
||||
const isTypedArray = nodeIsTypedArray
|
||||
? value => nodeIsTypedArray(value)
|
||||
: value => typeof value == 'object' && value != null && reTypedTag.test(getTag(value))
|
||||
? (value) => nodeIsTypedArray(value)
|
||||
: (value) => typeof value == 'object' && value != null && reTypedTag.test(getTag(value))
|
||||
|
||||
export default isTypedArray
|
||||
|
||||
Reference in New Issue
Block a user