function b = BR_isdigit(c)
% BR_isdigit - determines if c is a digit
% On input:
%     c (character): character from logical sentence
% On output:
%     b (Boolean): true if c is digit, else false
% Call:
%     b = BR_isdigit('4');
% Author:
%     T. Henderson
%     UU
%     Fall 2018
%

b = 0;
if c=='0'
    b = 1;
    return
end
if c=='1'
    b = 1;
    return
end
if c=='2'
    b = 1;
    return
end
if c=='3'
    b = 1;
    return
end
if c=='4'
    b = 1;
    return
end
if c=='5'
    b = 1;
    return
end
if c=='6'
    b = 1;
    return
end
if c=='7'
    b = 1;
    return
end
if c=='8'
    b = 1;
    return
end
if c=='9'
    b = 1;
    return
end
