Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCUMENT-617

data types documentation should recommend use of the built-in type function instead of type_of from stdlib

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Component/s: None
    • Labels:
    • Template:
    • QA Risk Assessment:
      Needs Assessment

      Description

      The Problem

      This page recommends use of type_of() but should recommend use of type()

      https://docs.puppet.com/puppet/latest/reference/lang_data_type.html#obtaining-data-types

      It might be good to do a quick check of other pages to make sure they don't recommend type_of() either.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jean Jean Bond
              Reporter:
              nick.walker Nick Walker
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support