> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# catalogComputedAttributeAsCatalogAttribute()

- Package: [@gooddata/sdk-model](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/index.md)
- Kind: function
- Stability: beta
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-model/src/ldm/catalog/computedAttribute/index.ts

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Adapts a catalog computed attribute to a catalog attribute so it can enter attribute-shaped resolution maps and listings.

**Signature:**

```typescript
export declare function catalogComputedAttributeAsCatalogAttribute(item: ICatalogComputedAttribute): ICatalogAttribute;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| item | [ICatalogComputedAttribute](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.icatalogcomputedattribute/index.md) |  |

**Returns:**

[ICatalogAttribute](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.icatalogattribute/index.md)

## Remarks

Refs stay honest (typed `computedAttribute`); only the catalog item and metadata object `type` discriminators are rewritten. See [computedAttributeAsAttributeMetadataObject()](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.computedattributeasattributemetadataobject/index.md).
