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

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

#iterable?(guard = nil) ⇒ Boolean

Returns ‘true` if an instance of this type is iterable, `false` otherwise The method #iterable_type must produce a `PIterableType` instance when this method returns `true`

Parameters:

  • guard (RecursionGuard) (defaults to: nil)

    guard against recursion. Only used by internal calls

Returns:

  • (Boolean)

    flag to indicate if instances of this type is iterable.



239
240
241
# File 'lib/puppet/pops/types/types.rb', line 239

def iterable?(guard = nil)
  false
end