Update stdlib and concat to 6.1.0 both
[mirror/dsa-puppet.git] / 3rdparty / modules / stdlib / lib / puppet / parser / functions / empty.rb
index e0b9838..907ecb1 100644 (file)
@@ -3,10 +3,15 @@
 #
 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|