/** * 是否在数组中 * * ```ts * import { inArray } from 'sunny-js' * console.log(inArray(['term'], 'term')) * // => true * ``` * * @deprecated 请使用[Array.prototype.includes()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/includes)替代 * @category 数组 */ export declare function inArray(arr: T[], term: T): boolean;