Return the optional logical value or its fallback.
Selects val when present and otherwise returns default.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| logical, | intent(in), | optional | :: | val |
Optional logical value. |
|
| logical, | intent(in) | :: | default |
Value returned when |