vibe.d beta banner
get vibe.d
0.8.4

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

Enum member TestSerializer.isSupportedValueType

struct TestSerializer
{
  // ...
  enum isSupportedValueType(T) = is(T == string) || is(T == typeof(null)) || is(T == float) || is(T == int);
  // ...
}
Authors

Sönke Ludwig

Copyright

© 2013-2016 rejectedsoftware e.K.

License

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