import { Accessor } from 'solid-js'; import { MaybeAccessor } from '../utils/types.js'; import 'solid-js/types/reactive/signal'; /** * Reactive `Array.some` * * @see https://solidjs-use.github.io/solidjs-use/shared/useArraySome * @param {Array} list - the array was called upon. * @param fn - a function to test each element. * * @returns {boolean} **true** if the `fn` function returns a **truthy** value for any element from the array. Otherwise, **false**. */ declare function useArraySome(list: MaybeAccessor>>, fn: (element: T, index: number, array: Array>) => unknown): Accessor; export { useArraySome };