vibe.d beta banner
get vibe.d

Asynchronous I/O that doesn’t get in your way, written in D

Enum member isOptionValue

Tests if a given type is supported by readOption.

enum isOptionValue(T) = is(T == bool) || is(T : long) || is(T : double) || is(T == string);

Allowed types are Booleans, integers, floating point values and strings. In addition to plain values, arrays of values are also supported.


Sönke Ludwig, Vladimir Panteleev


© 2012-2016 RejectedSoftware e.K.


Subject to the terms of the MIT license, as written in the included LICENSE.txt file.