to_bool#

static Parse.to_bool(value: int) bool[source]#

Convert a integer value to a boolean value.

Parameters:

value (int) – A integer value.

Returns:

Boolean value.

Return type:

bool