#
module Puppet::Parser::Functions
newfunction(:max, :type => :rvalue, :doc => <<-DOC
- Returns the highest value of all arguments.
+ @summary
+ **Deprecated:** Returns the highest value of all arguments.
+
Requires at least one argument.
- Note: from Puppet 6.0.0, the compatible function with the same name in Puppet core
- will be used instead of this function.
+ @return
+ The highest value among those passed in
+
+ > **Note:** **Deprecated** from Puppet 6.0.0, this function has been replaced with a
+ built-in [`lstrip`](https://puppet.com/docs/puppet/latest/function.html#lstrip) function.
DOC
) do |args|