mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 17:47:49 +00:00
Apply even more let/const transforms.
This commit is contained in:
4
isSet.js
4
isSet.js
@@ -3,7 +3,7 @@ import baseUnary from './_baseUnary.js';
|
||||
import nodeUtil from './_nodeUtil.js';
|
||||
|
||||
/* Node.js helper references. */
|
||||
var nodeIsSet = nodeUtil && nodeUtil.isSet;
|
||||
const nodeIsSet = nodeUtil && nodeUtil.isSet;
|
||||
|
||||
/**
|
||||
* Checks if `value` is classified as a `Set` object.
|
||||
@@ -22,6 +22,6 @@ var nodeIsSet = nodeUtil && nodeUtil.isSet;
|
||||
* _.isSet(new WeakSet);
|
||||
* // => false
|
||||
*/
|
||||
var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;
|
||||
const isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;
|
||||
|
||||
export default isSet;
|
||||
|
||||
Reference in New Issue
Block a user