Identifier.isValidIdentifier

Determine if string is a valid Identifier.

  1. bool isValidIdentifier(const(char)* str)
    class Identifier
    nothrow static
    bool
    isValidIdentifier
    (
    const(char)* str
    )
  2. bool isValidIdentifier(const(char)[] str)

Parameters

str const(char)*

string to check

Return Value

Type: bool

false for invalid

Meta