section_eq_character Function

private elemental function section_eq_character(lhs, rhs) result(is_it)

Equal to character logical operator.

Arguments

TypeIntentOptionalAttributesName
class(section), intent(in) :: lhs

Left hand side.

character(kind=CK,len=*), intent(in) :: rhs

Right hand side.

Return Value logical

Opreator test result.


Contents

Source Code


Source Code

  elemental function section_eq_character(lhs, rhs) result(is_it)
  !< Equal to character logical operator.
  class(section),            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%sname == rhs
  endfunction section_eq_character