vibe.d beta banner
get vibe.d
0.10.0

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

Function DictionaryList.get

Returns the first field that matches the given key.

inout inout(DictionaryList.ValueType) get (
  string key,
  lazy inout(DictionaryList.ValueType) def_val = ValueType.init
);

inout inout(T) get(T) (
  string key,
  lazy inout(T) def_val
)
if (typedGet!T);

inout inout(T) get(T) (
  string key
)
if (typedGet!T);

If no field is found, def_val is returned.

Authors

Sönke Ludwig

Copyright

© 2012-2014 RejectedSoftware e.K.

License

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