util::Result::operator bool

Tests whether the result holds a value.

Synopsis

Declared in <util/result.h>

explicit
operator bool() const noexcept;

Return Value

true if the result holds a value, false if it holds an error