   end
 
   @doc """
-  Returns a random element or random sublist of a collection.
+  Returns a random element of a collection.
 
   Notice that you need to explicitly call `:random.seed/1` and
   set a seed value for the random algorithm. Otherwise, the

  result. For example, one could do the following to set a seed
  dynamically:

      :random.seed(:erlang.now)

  The implementation assumes that the sample being returned
  can fit into memory.

  ## Examples


      1
      iex> Enum.sample([1,2,3])
      2

  """
  @spec sample(t) :: element | nil
