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

CString.localeCompare method | bun:ffi module | Bun

CString.localeCompare method | bun:ffi module | BunBuildDocsReferenceGuidesBlogDiscord/bun:ffi/CString/localeCompareMlocaleCompare

Search the reference...

/

BuildDocsReferenceGuidesBlogDiscord/bun:ffi/CString/localeCompareMlocaleCompare

method

ffi.CString.localeComparelocaleCompare(that: string): number;Determines whether two strings are equivalent in the current locale.

@param thatString to compare to target string

localeCompare(that: string,locales?: string | string[],options?: CollatorOptions): number;Determines whether two strings are equivalent in the current or specified locale.

@param thatString to compare to target string

@param localesA locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used. This parameter must conform to BCP 47 standards; see the Intl.Collator object for details.

@param optionsAn object that contains one or more properties that specify comparison options. see the Intl.Collator object for details.

localeCompare(that: string,locales?: LocalesArgument,options?: CollatorOptions): number;Determines whether two strings are equivalent in the current or specified locale.

@param thatString to compare to target string

@param localesA locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used. This parameter must conform to BCP 47 standards; see the Intl.Collator object for details.

@param optionsAn object that contains one or more properties that specify comparison options. see the Intl.Collator object for details.

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 →

智能索引记录