mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 17:07:49 +00:00
Remove references to _.
This commit is contained in:
@@ -8,17 +8,16 @@ const nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
|
||||
* Checks if `value` is classified as a typed array.
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @since 3.0.0
|
||||
* @category Lang
|
||||
* @param {*} value The value to check.
|
||||
* @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
|
||||
* @example
|
||||
*
|
||||
* _.isTypedArray(new Uint8Array);
|
||||
* isTypedArray(new Uint8Array);
|
||||
* // => true
|
||||
*
|
||||
* _.isTypedArray([]);
|
||||
* isTypedArray([]);
|
||||
* // => false
|
||||
*/
|
||||
const isTypedArray = nodeIsTypedArray
|
||||
|
||||
Reference in New Issue
Block a user