I'm processing a file for input and need to verify that all fields are of the correct type. One of the types is boolean.
I've taken the input line and broke it down into a string array. From here I am checking whether the inputted value from the file is numeric and so on.
My problem is how can I check to see if the field that is suppose to be boolean really is boolean?