Returns the value of the first element in the array where predicate is true, and undefined otherwise.
Uint8Array.find method | globals module | Bun BuildDocsReferenceGuidesBlogDiscord/Globals/Uint8Array/findMfind BuildDocsReferenceGuidesBlogDiscord /Globals/Uint8Array/findMfind @param predicate @param thisArg
Search the reference...
/
method
Uint8Array.findfind(predicate: (value: number, index: number, obj: this) => boolean,thisArg?: any): undefined | number;find 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, find immediately returns that element value. Otherwise, find returns undefined.
If 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 StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →Uint8Array.find method | globals module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- API documentation for method globals.Uint8Array.find | Bun