# ocsf::type_uid

Returns the `type_uid` for a given `type_name`.

```tql
ocsf::type_uid(name:string) -> int
```

## Description

### `name: string`

The `type_name` for which `type_uid` should be returned.

## See Also

* [`ocsf::type_name`](https://preview.docs.tenzir.com/375/375/reference/functions/ocsf/type_name.md)