isBsonSerializable.isBsonSerializable

Undocumented in source.
template isBsonSerializable(T)
package
enum isBsonSerializable = is(typeof(T.init.toBson()) == Bson) && is(typeof(T.fromBson(Bson())) == T);

Meta