mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 03:17:49 +00:00
Fix _.isTypedArray docs. [ci skip]
This commit is contained in:
committed by
jdalton
parent
31b4a9197f
commit
42b6f320d8
@@ -8273,7 +8273,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks if `value` is classified as typed array.
|
* Checks if `value` is classified as a typed array.
|
||||||
*
|
*
|
||||||
* @static
|
* @static
|
||||||
* @memberOf _
|
* @memberOf _
|
||||||
@@ -8282,10 +8282,10 @@
|
|||||||
* @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.
|
* @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.
|
||||||
* @example
|
* @example
|
||||||
*
|
*
|
||||||
* _.isString('abc');
|
* _.isTypedArray(new Uint8Array);
|
||||||
* // => true
|
* // => true
|
||||||
*
|
*
|
||||||
* _.isString(1);
|
* _.isTypedArray([]);
|
||||||
* // => false
|
* // => false
|
||||||
*/
|
*/
|
||||||
function isTypedArray(value) {
|
function isTypedArray(value) {
|
||||||
|
|||||||
Reference in New Issue
Block a user