vibe.d beta banner
get vibe.d
0.7.30

Enum member isFormMap

Tests if a given type is suitable for storing a web form.

Types that define iteration support with the key typed as string and the value either also typed as string, or as a vibe.data.json.Json like value. The latter case specifically requires a .type property that is tested for equality with T.Type.string, as well as a .get!string method.

Declaration

enum isFormMap(T) = isStringMap!T || isJsonLike!T;
Authors

Sönke Ludwig, Jan Krüger

Copyright

© 2012-2014 RejectedSoftware e.K.

License

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