Skip to content

You're viewing documentation for a pre-release version. View the latest stable version

Type Property

numeric

iOS 8.0+ iPadOS 8.0+ Mac Catalyst 8.0+ macOS 10.10+ tvOS 9.0+ watchOS 2.0+
Numbers within strings are compared using numeric value, that is, Foo2.txt < Foo7.txt < Foo25.txt; only applies to compare methods, not find
static let numeric: String.CompareOptions