is_bool Function

public function is_bool(obj)

Checks if object is a Python bool.

Arguments

Type IntentOptional AttributesName
class(object), intent(in) :: obj

The object to check.

Return Value logical