If set to true or a function, all properties of an object, and Set and Map entries are sorted in the resulting string. If set to true the default sort is used. If set to a function, it is used as a compare function.
property sorted | Node.js util module | Bun BuildDocsReferenceGuidesBlogDiscord/node:util/InspectOptions/sortedPsorted BuildDocsReferenceGuidesBlogDiscord /node:util/InspectOptions/sortedPsorted util.InspectOptions.sortedsorted?: boolean | (a: string, b: string) => number
Search the reference...
/
property
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →property sorted | Node.js util module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- If set to `true` or a function, all properties of an object, and `Set` and `Map`
entries are sorted in the resulting string.
If set to `true` the default sort is used.
If set to a function, it is used as a compare function.