# Unit Obj::AsUnit()

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

## Exact signature

```text
Unit Obj::AsUnit()
```

## Description

Returns a Unit reference when the object has a compatible unit category.

## Parameters and return type

**Return type:** `Unit`

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

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