isSomeAnd method

  1. @override
bool isSomeAnd(
  1. bool f(
    1. T self
    )
)
override

Returns true if the option is a Some and the value inside of it matches a predicate.

Implementation

@override
bool isSomeAnd(bool Function(T self) f) {
  return f(v);
}