Method: Dry::Types::Intersection#primitive?
- Defined in:
- lib/dry/types/intersection.rb
#primitive?(value) ⇒ Boolean
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.
51 52 53 |
# File 'lib/dry/types/intersection.rb', line 51 def primitive?(value) left.primitive?(value) && right.primitive?(value) end |