Click or drag to resize

ReadOnlyFragmentToBoolean Method

Gets the contained value as a Boolean

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0125
Syntax
C#
public bool ToBoolean()

Return Value

Type: Boolean
The cast contained value
Remarks
Any non-zero object will be treated as true, so don't rely on any sort of parsing
See Also