   end
 
   @doc """
-  Returns `true` if the given `fun` evaluates to a truthy value (neither `false` nor `nil`)
-  on all of the items in the `enumerable`.
-
-  It stops the iteration at the first invocation that returns either `false` or `nil`.
+  Returns `true` if `fun.(item)` is truthy for all items in `enumerable`.
+
+  Iterates over the `enumerable` and invokes `fun` on each item. When an invocation
+  of `fun` returns a falsy value (`false` or `nil`) iteration stops immediately and
+  `false` is returned. In all other cases `true` is returned.
 
   ## Examples
 

  end

  @doc """
  Returns `true` if the given `fun` evaluates to true on any of the items in the `enumerable`.

  It stops the iteration at the first invocation that returns a truthy value (neither `false` nor `nil`).

  ## Examples



      iex> Enum.any?([2, 3, 4], fn x -> rem(x, 2) == 1 end)
      true
      
      iex> Enum.any?([], fn x -> x > 0 end)
      false

  If no function is given, the truthiness of each item is checked during iteration.
  When an item has a truthy value (neither `false` nor `nil`) iteration stops
  immediately and `true` is returned. In all other cases `false` is returned.

      iex> Enum.any?([false, false, false])
      false

      iex> Enum.any?([false, true, false])
      true
      
      iex> Enum.any?([])
      false

  """
  @spec any?(t, (element -> as_boolean(term))) :: boolean
