Most GPM functions operate on or return GMP number resources.
For a GMP number resource, get_resource_type() gives "GMP integer"