Title: Message Title
Henrik Lindberg commented on an issue
Puppet / Improvement PUP-485
Add functions for type operations
Add functions:

* type_of(object) # performs type inference and returns the type
* is_a(type, object) # true if object is instance of type

Type can also be checked with comparison e.g. these two are equivalent:

* String <= type_of($x)
* $x.is_a(String)


--
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.

Reply via email to