Method: Puppet::Pops::Types::PBooleanType#instance?
- Defined in:
- lib/puppet/pops/types/types.rb
#instance?(o, guard = nil) ⇒ Boolean
1864 1865 1866 |
# File 'lib/puppet/pops/types/types.rb', line 1864 def instance?(o, guard = nil) (o == true || o == false) && (@value.nil? || value == o) end |