dmd v2.104.0 (2023-06-02T08:46:32Z)
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
extern (
D
) nothrow static
bool
isValidIdentifier
(
const
(
char
)[]
str
)
Parameters
str
const
(
char
)[]
string to check
Return Value
Type:
bool
false for invalid
Meta
Source
See Implementation
dmd
identifier
Identifier
constructors
this
static functions
generateAnonymousId
generateId
generateIdWithLoc
idPool
isValidIdentifier
Determine if string is a valid Identifier.