Method: Puppet::Pops::Types::PUndefType#instance?

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

#instance?(o, guard = nil) ⇒ Boolean

Returns:

  • (Boolean)


608
609
610
# File 'lib/puppet/pops/types/types.rb', line 608

def instance?(o, guard = nil)
  o.nil? || :undef == o
end