requireBool

Require the result to be either 1 or 0. If it is, return the boolean value, otherwise throw a GitException.

package
bool
requireBool
(
int result
,
string file = __FILE__
,
size_t line = __LINE__
)

Meta