Method: Concurrent::Maybe#just?

Defined in:
lib/concurrent-ruby/concurrent/maybe.rb

#just?Boolean Also known as: fulfilled?

Is this ‘Maybe` a `Just` (successfully fulfilled with a value)?

Returns:

  • (Boolean)

    True if ‘Just` or false if `Nothing`.



176
177
178
# File 'lib/concurrent-ruby/concurrent/maybe.rb', line 176

def just?
  ! nothing?
end