An exception that's throw by frontOrThrow should the exception maker throw
If value is valid, it returns the internal value. This means .front for a range, .get for a Nullable!T, etc. If value is invalid, then elseValue is returned. If an elsePred is provided than that is called.
Same as frontOr except it throws an error if it can't get the value
If value is valid, it returns the value. If value is invalid, then elseValue is returned. If an elsePred is provided than that is called.
Gets the value or else something else