Extracted from Pike v8.0 release 28 as of 2015-08-03.
   

Method Gmp.mpq()->_is_type()


Method _is_type

bool res = is_type(Gmp.mpq())