#
module Puppet::Parser::Functions
newfunction(:empty, :type => :rvalue, :doc => <<-DOC
- Returns true if the variable is empty.
+ @summary
+ **Deprecated:** Returns true if the variable is empty.
- Note: from Puppet 5.5.0, the compatible function with the same name in Puppet core
- will be used instead of this function.
+ @return
+ Returns `true` if the argument is an array or hash that contains no elements,
+ or an empty string. Returns `false` when the argument is a numerical value.
+
+ > *Note*: **Deprecated** from Puppet 5.5.0, the built-in
+ [`empty`](https://puppet.com/docs/puppet/6.4/function.html#empty) function will be used instead.
DOC
) do |arguments|