isBoolean and isBooleanArray functions
isDate and isDateArray functions