Click or drag to resize

IReadOnlyDictionaryGetBoolean Method

Gets the value of a given key as a Boolean

Namespace:  Couchbase.Lite
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0295
Syntax
C#
bool GetBoolean(
	string key
)

Parameters

key
Type: SystemString
The key to check the value for

Return Value

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