- raise(Puppet::ParseError, "lstrip(): Wrong number of arguments " +
- "given (#{arguments.size} for 1)") if arguments.size < 1
+ > **Note:** **Deprecated** from Puppet 6.0.0, this function has been replaced with a
+ built-in [`max`](https://puppet.com/docs/puppet/latest/function.html#max) function.
+ DOC
+ ) do |arguments|
+
+ raise(Puppet::ParseError, "lstrip(): Wrong number of arguments given (#{arguments.size} for 1)") if arguments.empty?