dmd ~master (2023-11-01T14:17:50Z)
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 @
safe
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.