isAlphaNum

Checks if a character is alphanumeric.

  1. bool isAlphaNum(T c, uint base)
    static pure @nogc
    bool
    isAlphaNum
    (
    T
    )
    (
    T c
    ,
    uint base = 10
    )
    if (
    isSomeChar!T
    )
  2. bool isAlphaNum(string str, uint base)

Parameters

c T

The character to check.

base uint

The numeric base to consider when checking for alphanumericity.

Return Value

Type: bool

true if the character is alphanumeric.

Meta