Check type case insensitive