isOctalDigit

@safe pure nothrow @nogc
bool
isOctalDigit
(
dchar c
)

Return Value

Type: bool

Whether c is a digit in base 8 (0 .. 7).

Examples

assert( isOctalDigit('0'));
assert( isOctalDigit('7'));
assert(!isOctalDigit('8'));
assert(!isOctalDigit('A'));
assert(!isOctalDigit('#'));

Meta