- newfunction(:empty, :type => :rvalue, :doc => <<-EOS
-Returns true if the variable is empty.
- EOS
- ) do |arguments|
+ newfunction(:empty, :type => :rvalue, :doc => <<-DOC
+ @summary
+ **Deprecated:** Returns true if the variable is empty.
+
+ @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.