Click or drag to resize

ResultGetBoolean Method (Int32)

Gets the value at the given index as a Boolean

Namespace:  Couchbase.Lite.Query
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0713
Syntax
C#
public bool GetBoolean(
	int index
)

Parameters

index
Type: SystemInt32
The index to lookup

Return Value

Type: Boolean
The value at the index, or its converted equivalent

Implements

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