Return the first index i where channel .eq. channels(i) is .true., or the last index is reverse is .true.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(channel_type), | intent(in) | :: | channels(:) | |||
| class(channel_type), | intent(in) | :: | channel | |||
| logical, | intent(in), | optional | :: | reverse |