UNPKG

697 BTypeScriptView Raw
1/**
2 * The base implementation of `_.isTypedArray` without Node.js optimizations.
3 *
4 * @private
5 * @param {*} value The value to check.
6 * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
7 */
8declare function baseIsTypedArray(value: any): boolean;
9/**
10 * Checks if `value` is classified as a typed array.
11 *
12 * @static
13 * @memberOf _
14 * @since 3.0.0
15 * @category Lang
16 * @param {*} value The value to check.
17 * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
18 * @example
19 *
20 * _.isTypedArray(new Uint8Array);
21 * // => true
22 *
23 * _.isTypedArray([]);
24 * // => false
25 */
26export declare const isTypedArray: typeof baseIsTypedArray;
27export {};