#
module Puppet::Parser::Functions
newfunction(:is_string, :type => :rvalue, :doc => <<-DOC
- Returns true if the variable passed to this function is a string.
+ @summary
+ **Deprecated:** Returns true if the variable passed to this function is a string.
+
+ @return [Boolean]
+ Returns `true` or `false`
+
+ > **Note:* **Deprecated** Will be removed in a future version of stdlib. See
+ [`validate_legacy`](#validate_legacy).
DOC
) do |arguments|