hash_map_is_empty Function

private pure function hash_map_is_empty(this) result(empty)

.true. when the map holds no entries.

Type Bound

hash_map_t

Arguments

Type IntentOptional Attributes Name
class(hash_map_t), intent(in) :: this

Return Value logical


Source Code

   pure function hash_map_is_empty(this) result(empty)
      !! `.true.` when the map holds no entries.
      class(hash_map_t), intent(in) :: this
      logical :: empty

      empty = (this%n_entries == 0)
   end function hash_map_is_empty