Searched refs:mp_obj_is_bool (Results 1 – 2 of 2) sorted by relevance
711 #define mp_obj_is_bool(o) ((o) == mp_const_false || (o) == mp_const_true) macro713 #define mp_obj_is_bool(o) mp_obj_is_type(o, &mp_type_bool) macro784 return mp_obj_is_int(o) || mp_obj_is_bool(o); in mp_obj_is_integer()
923 return mp_obj_is_bool(arg) || mp_obj_is_int(arg); in arg_looks_integer()
Completed in 9 milliseconds