firstOrOption property
Option<T>
get
firstOrOption
Implementation
Option<T> get firstOrOption {
if (isEmpty) {
return None;
}
return Some(_list[_start]);
}
Option<T> get firstOrOption {
if (isEmpty) {
return None;
}
return Some(_list[_start]);
}