vibe.d beta banner
get vibe.d
0.10.1

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.

Authors

Sönke Ludwig, Vladimir Panteleev

Copyright

© 2012-2016 Sönke Ludwig

License

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