ValueType.accepts

Checks whether the value is valid for this type.

An integer is 0, or an optional - followed by digits that do not start with 0.

struct ValueType
const @safe
bool
accepts
(
string value
)

Parameters

value string

Value to check.