Method HasValueAnd
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
HasValueAnd(Predicate<T>)
Checks if this has a value and tests the predicate if it does.
public bool HasValueAnd(Predicate<T> predicate)
Parameters
predicate
Predicate<T>The predicate to test if this has a value.
Returns
- bool
True if this has a value and the predicate is fulfilled, false otherwise.