Constraint¶
sealed interface Constraint<in T> : BsonFieldWriteable
A constraint on a BsonValue.
Type Parameters¶
- T: The type of the value this constraint applies to.
Inheritors¶
Functions¶
toString¶
writeTo¶
@LowLevelApi
abstract fun writeTo(writer: BsonFieldWriter)
Writes this object to the provided writer.