check isDate
added getType name