phobos-next ~master (2025-01-18T22:13:40.3704578)
Dub
Repo
toLowerIfASCII
nxt
casing
Return
s
lowercased if
s
is an ASCII-string, otherwise
defaultValue
.
string
toLowerIfASCII
(const(char)[] s, string defaultValue)
@
safe
pure nothrow
string
toLowerIfASCII
(
scope
const
(
char
)[]
s
,
string
defaultValue
)
inout
(
char
)[]
toLowerIfASCII
(inout(char)[] s)
Meta
Source
See Implementation
nxt
casing
functions
camelCasedToLower
camelCasedToLowerSpaced
toLowerASCII_
toLowerIfASCII
toLowerSpacedChars
toLowerUnicode
Return s lowercased if s is an ASCII-string, otherwise defaultValue.