function value = ch_eqi ( c1, c2 )

%*****************************************************************************80
%
%% ch_eqi() is a case insensitive comparison of two characters for equality.
%
%  Discussion:
%
%    ch_eqi ( 'A', 'a' ) is TRUE.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    28 November 2019
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    character C1, C2, the characters to compare.
%
%  Output:
%
%    logical VALUE, is TRUE if the characters are equal.
%
  if ( upper ( c1 ) == upper ( c2 ) )
    value = true;
  else
    value = false;
  end

  return
end
