Function Bson.to
Converts the BSON value to a D value.
T to(T)() const @property;
In addition to working like get!T
, the following conversions are done:
- to!double
- casts int and long to double
- to!long
- casts int to long
- to!string
- returns the same as toString