code: public static function assertType($type)
      {
          Utils::invariant(
              self::isType($type),
              'Expected ' . Utils::printSafe($type) . ' to be a GraphQL type.'
          );
  
          return $type;
      }
docs: @param mixed $type
  
  @return mixed