implemented $type operator for common types
fixed $type check for 64 bit numbers type=18