Method: Puppet::Pops::Types::TypeCalculator.is_kind_of_callable?

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

.is_kind_of_callable?(t, optional = true) ⇒ Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)


768
769
770
# File 'lib/puppet/pops/types/type_calculator.rb', line 768

def self.is_kind_of_callable?(t, optional = true)
  t.is_a?(PAnyType) && t.kind_of_callable?(optional)
end