toBson

open fun toBson(): <Error class: unknown class>(source)

Writes the result of simplifying to a new Bson.