Method: Dry::Transformer::Conditional.not
- Defined in:
- lib/dry/transformer/conditional.rb
.not(value, fn) ⇒ Boolean
Negates the result of transformation
34 35 36 |
# File 'lib/dry/transformer/conditional.rb', line 34 def self.not(value, fn) !fn[value] end |