when adding document to private function by @doc, in vscode compiler gives the warning message.
I can't find @docp for @doc.
defp check_subscript!/3 is private, @doc attribute is always discarded for private functions/macros/typesElixir
function is as follows:
@doc """
check subscript decreasing or increasing
"""
defp check_subscript!(x, x1, x2)
when x > x1 and x1 > x2 and
is_integer(x) and is_integer(x1) and is_integer(x2) do
:ok
end