Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/somefn/js/iterator.ts>some

some functions for deno
Go to Latest
function some
import { some } from "https://deno.land/x/somefn@v0.27.0/js/iterator.ts";

类似 Array.prototype.some()

Parameters

it: IterableIterator<T>
size: number
fn: (v: T) => boolean

Returns

boolean