Method: Puppet::Pops::Types::PAnyType#really_instance?

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

#really_instance?(o, guard = nil) ⇒ Integer

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.

An object is considered to really be an instance of a type when something other than a TypeAlias or a Variant responds true to a call to #instance?.



276
277
278
# File 'lib/puppet/pops/types/types.rb', line 276

def really_instance?(o, guard = nil)
  instance?(o, guard) ? 1 : -1
end