温馨提示:本站仅提供公开网络链接索引服务,不存储、不篡改任何第三方内容,所有内容版权归原作者所有
AI智能索引来源:http://www.bun.com/reference/globals/Uint8Array/findIndex
点击访问原文链接

Uint8Array.findIndex method | globals module | Bun

Uint8Array.findIndex method | globals module | BunBuildDocsReferenceGuidesBlogDiscord/Globals/Uint8Array/findIndexMfindIndex

Search the reference...

/

BuildDocsReferenceGuidesBlogDiscord/Globals/Uint8Array/findIndexMfindIndex

method

Uint8Array.findIndexfindIndex(predicate: (value: number, index: number, obj: this) => boolean,thisArg?: any): number;Returns the index of the first element in the array where predicate is true, and -1 otherwise.

@param predicatefind calls predicate once for each element of the array, in ascending order, until it finds one where predicate returns true. If such an element is found, findIndex immediately returns that element index. Otherwise, findIndex returns -1.

@param thisArgIf provided, it will be used as the this value for each invocation of predicate. If it is not provided, undefined is used instead.

Resources

ReferenceDocsGuidesDiscordMerch StoreGitHubBlog 

Toolkit

RuntimePackage managerTest runnerBundlerPackage runner

Project

Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco

We're hiring →

智能索引记录