pyIsBool function Null safety
Checks whether object
is a boolean
Implementation
bool pyIsBool(Pointer<PyObject> object) {
return object == dartpyc.Py_True || object == dartpyc.Py_False;
}
Checks whether object
is a boolean
bool pyIsBool(Pointer<PyObject> object) {
return object == dartpyc.Py_True || object == dartpyc.Py_False;
}