Method: Puppet::Pops::Types::TypeCalculator#is_ptype?

Defined in:
lib/puppet/pops/types/type_calculator.rb

#is_ptype?(t) ⇒ Boolean

Answers if t is a puppet type

Returns:

  • (Boolean)


313
314
315
# File 'lib/puppet/pops/types/type_calculator.rb', line 313

def is_ptype?(t)
  t.is_a?(PAnyType)
end