tibasTuple_GetBoolean()

Returns the boolean value stored in the field with the specified name.

Declaration

tibas_status tibasTuple_GetBoolean
(tibasTuple    tuple,
tibas_boolean* value,
const char*    fieldname)

Parameters

Parameter Description
tuple Specify the tuple for which you want to return a boolean value.
value The boolean value returned by the function.
fieldname The fieldname.

Remarks

Use the tibasTuple_GetBoolean() function to return the value of a boolean field in a specified tuple.

The function returns TIBAS_TRUE if the boolean value is 1, and returns TIBAS_FALSE if the boolean value is 0.