---
lang: en
title: 'API docs: repository.keyof'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.repository.keyof.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/repository](./repository.md) &gt; [KeyOf](./repository.keyof.md)

## KeyOf type

Key types of a given model, excluding operators

<b>Signature:</b>

```typescript
export declare type KeyOf<MT extends object> = Exclude<Extract<keyof MT, string>, Operators>;
```

