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 bool GetBoolean(
string key
)
Parameters
- key
- Type: SystemString
The key to check the value for
Return Value
Type:
BooleanThe 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