# int Wagon::restype()

[Family: Wagon](/imperivm/en/CKS/familias/wagon/)

## Exact signature

```text
int Wagon::restype()
```

## Description

Wagon restype returns the carried resource selector at [field], with zero on invalid resolution.

## Parameters and return type

**Return type:** `int`

The member is called on an object. Its receiver is not repeated among this signature’s arguments.

This signature takes no additional arguments.

## Read and share

- [Markdown](/imperivm/exports/en/cks/api-78a8ecd87f3d21.md)
- [JSON](/imperivm/CKS/api/entries/api-78a8ecd87f3d21?lang=en)

Keep the notes and limitations when reusing this description. Do not infer undocumented parameter meanings, units or effects.
