function b = BR_isNEGop(s)
% BR_isNEGop - determines if s is an NOT statement
% On input:
%     s (string): logical string
% On output:
%     b (Boolean): true if NOT statement, else false
% Call:
%     b = BR_isNOTop(s);
% Author:
%     T. Henderson
%     UU
%     Fall 2018
%

b = 0;

NEG_OP = '~';

if s(2)==NEG_OP
    b = 1;
end
