ifAbsent method
void
ifAbsent(
- void ifAbsent()
Execution a function if the Optional value is absent.
Implementation
void ifAbsent(void ifAbsent()) {
if (!isPresent) {
ifAbsent();
}
}
Execution a function if the Optional value is absent.
void ifAbsent(void ifAbsent()) {
if (!isPresent) {
ifAbsent();
}
}