isBool property

bool isBool

Checks whether object is a boolean

Implementation

bool get isBool => this == dartpyc.Py_True || this == dartpyc.Py_False;