Method: Typisch::Type::Tuple#shallow_check_type
- Defined in:
- lib/typisch/tuple.rb
#shallow_check_type(instance) ⇒ Object
44 45 46 |
# File 'lib/typisch/tuple.rb', line 44 def shallow_check_type(instance) ::Array === instance && instance.length == @types.length end |