isNumber

Undocumented in source. Be warned that the author may not have intended to support it.
@safe pure @nogc nothrow
bool
isNumber
(
string str
)

Examples

assertTrue(isNumber("1"));
assertTrue(isNumber("-3"));
assertTrue(isNumber("+2"));
assertTrue(isNumber("043"));
assertFalse(isNumber("p3"));

Meta