ddc ~master (2020-05-01T11:40:35Z)
Dub
Repo
Identifier.isValidIdentifier
dmd
identifier
Identifier
Determine if string is a valid Identifier.
bool
isValidIdentifier
(
const
(
char
)*
str
)
bool
isValidIdentifier
(
const
(
char
)[]
str
)
class
Identifier
nothrow extern (
D
) static
bool
isValidIdentifier
(
const
(
char
)[]
str
)
Parameters
str
Type:
const
(
char
)[]
string to check
Return Value
Type:
bool
false for invalid
Meta
Source
See Implementation
dmd
identifier
Identifier
constructors
this
static functions
anonymous
generateIdWithLoc
idPool
isValidIdentifier
Determine if string is a valid Identifier.