   Returns `true` if `term` is a bitstring (including a binary); otherwise returns `false`.
 
   Allowed in guard tests. Inlined by the compiler.
+
+  ## Examples
+
+      iex> is_bitstring "foo"
+      true
+      iex> is_bitstring <<1::3>>
+      true
+
   """
   @spec is_bitstring(term) :: boolean
   def is_bitstring(term) do


  Allowed in guard tests. Inlined by the compiler.

  ## Example

      iex> tuple = {:foo, :bar, 3}
      iex> elem(tuple, 1)

  otherwise returns `false`.

  Allowed in guard tests. Inlined by the compiler.

  ## Examples

      iex> is_function(fn(x) -> x * 2 end, 1)
      true
      iex> is_function(fn(x) -> x * 2 end, 2)
      false

  """
  @spec is_function(term, non_neg_integer) :: boolean
  def is_function(term, arity) do
