Equal to character logical operator.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(option), | intent(in) | :: | lhs | Left hand side. |
||
character(kind=CK,len=*), | intent(in) | :: | rhs | Right hand side. |
Opreator test result.
elemental function option_eq_character(lhs, rhs) result(is_it)
!< Equal to character logical operator.
class(option), intent(in) :: lhs !< Left hand side.
character(kind=CK, len=*), intent(in) :: rhs !< Right hand side.
logical :: is_it !< Opreator test result.
is_it = lhs%oname == rhs
endfunction option_eq_character