_pyAsBool#

Fully qualified name: usd_optimize::_pyAsBool

bool usd_optimize::_pyAsBool(PyObject *pyObject)#

Attempts to return the given python object as a boolean.

Throws:

std::runtime_error – if the object is not a boolean