AK-21/Graphite-Industrial-Intelligence
0
1/*! *****************************************************************************2Copyright (c) Microsoft Corporation. All rights reserved.3Licensed under the Apache License, Version 2.0 (the "License"); you may not use4this file except in compliance with the License. You may obtain a copy of the5License at http://www.apache.org/licenses/LICENSE-2.06 7THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY8KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED9WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,10MERCHANTABILITY OR NON-INFRINGEMENT.11 12See the Apache Version 2.0 License for specific language governing permissions13and limitations under the License.14***************************************************************************** */15 16 17interface Array<T> {18 /**19 * Determines whether an array includes a certain element, returning true or false as appropriate.20 * @param searchElement The element to search for.21 * @param fromIndex The position in this array at which to begin searching for searchElement.22 */23 includes(searchElement: T, fromIndex?: number): boolean;24}25 26interface ReadonlyArray<T> {27 /**28 * Determines whether an array includes a certain element, returning true or false as appropriate.29 * @param searchElement The element to search for.30 * @param fromIndex The position in this array at which to begin searching for searchElement.31 */32 includes(searchElement: T, fromIndex?: number): boolean;33}34 35interface Int8Array<TArrayBuffer extends ArrayBufferLike> {36 /**37 * Determines whether an array includes a certain element, returning true or false as appropriate.38 * @param searchElement The element to search for.39 * @param fromIndex The position in this array at which to begin searching for searchElement.40 */41 includes(searchElement: number, fromIndex?: number): boolean;42}43 44interface Uint8Array<TArrayBuffer extends ArrayBufferLike> {45 /**46 * Determines whether an array includes a certain element, returning true or false as appropriate.47 * @param searchElement The element to search for.48 * @param fromIndex The position in this array at which to begin searching for searchElement.49 */50 includes(searchElement: number, fromIndex?: number): boolean;51}52 53interface Uint8ClampedArray<TArrayBuffer extends ArrayBufferLike> {54 /**55 * Determines whether an array includes a certain element, returning true or false as appropriate.56 * @param searchElement The element to search for.57 * @param fromIndex The position in this array at which to begin searching for searchElement.58 */59 includes(searchElement: number, fromIndex?: number): boolean;60}61 62interface Int16Array<TArrayBuffer extends ArrayBufferLike> {63 /**64 * Determines whether an array includes a certain element, returning true or false as appropriate.65 * @param searchElement The element to search for.66 * @param fromIndex The position in this array at which to begin searching for searchElement.67 */68 includes(searchElement: number, fromIndex?: number): boolean;69}70 71interface Uint16Array<TArrayBuffer extends ArrayBufferLike> {72 /**73 * Determines whether an array includes a certain element, returning true or false as appropriate.74 * @param searchElement The element to search for.75 * @param fromIndex The position in this array at which to begin searching for searchElement.76 */77 includes(searchElement: number, fromIndex?: number): boolean;78}79 80interface Int32Array<TArrayBuffer extends ArrayBufferLike> {81 /**82 * Determines whether an array includes a certain element, returning true or false as appropriate.83 * @param searchElement The element to search for.84 * @param fromIndex The position in this array at which to begin searching for searchElement.85 */86 includes(searchElement: number, fromIndex?: number): boolean;87}88 89interface Uint32Array<TArrayBuffer extends ArrayBufferLike> {90 /**91 * Determines whether an array includes a certain element, returning true or false as appropriate.92 * @param searchElement The element to search for.93 * @param fromIndex The position in this array at which to begin searching for searchElement.94 */95 includes(searchElement: number, fromIndex?: number): boolean;96}97 98interface Float32Array<TArrayBuffer extends ArrayBufferLike> {99 /**100 * Determines whether an array includes a certain element, returning true or false as appropriate.101 * @param searchElement The element to search for.102 * @param fromIndex The position in this array at which to begin searching for searchElement.103 */104 includes(searchElement: number, fromIndex?: number): boolean;105}106 107interface Float64Array<TArrayBuffer extends ArrayBufferLike> {108 /**109 * Determines whether an array includes a certain element, returning true or false as appropriate.110 * @param searchElement The element to search for.111 * @param fromIndex The position in this array at which to begin searching for searchElement.112 */113 includes(searchElement: number, fromIndex?: number): boolean;114}115 