# Gate Obj::AsGate()

[Family: Obj](/imperivm/en/CKS/familias/obj/)

## Exact signature

```text
Gate Obj::AsGate()
```

## Description

Queries the resolved Obj for its Gate component and returns a Gate reference or an invalid-reference sentinel.

## Parameters and return type

**Return type:** `Gate`

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-e86e7a981c865a.md)
- [JSON](/imperivm/CKS/api/entries/api-e86e7a981c865a?lang=en)

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