functionis_spaceelementalprivate
elemental logical function is_space(ch)
True if ch is white space.
Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
| ch | character(len=1) | in | the character |
Result
| Name | Type | Attributes | Description |
|---|---|---|---|
| is_space | logical |
Calls
Source
Show the code
elemental logical function is_space(ch)
character, intent(in) :: ch !! the character
is_space = is_blank(ch) .or. ch == NL .or. ch == achar(13)
end function is_space