Click or drag to resize

DictionaryObjectGetBoolean 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-b0713
Syntax
C#
public 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

Implements

IDictionaryObjectGetBoolean(String)
Remarks
Any non-zero object will be treated as true, so don't rely on any sort of parsing
See Also