# MatchSegment Type documentation

## TypeScript declaration

### [MatchSegment](<https://github.com/siemens/element/blob/main/projects/element-ng/typeahead/si-typeahead.model.ts#L42-L47>)

**Kind:** interface

```
import type { MatchSegment } from '@siemens/element-ng/typeahead';
```

A segment of a [TypeaheadMatch](<../TypeaheadMatch/index.html#t:TypeaheadMatch>), which is a matching or non-matching segment of a typeahead option.

```
interface MatchSegment
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| [isMatching](<https://github.com/siemens/element/blob/main/projects/element-ng/typeahead/si-typeahead.model.ts#L44-L44>) | `boolean` |  |
| [matches](<https://github.com/siemens/element/blob/main/projects/element-ng/typeahead/si-typeahead.model.ts#L45-L45>) | `number` |  |
| [text](<https://github.com/siemens/element/blob/main/projects/element-ng/typeahead/si-typeahead.model.ts#L43-L43>) | `string` |  |
| [uniqueMatches](<https://github.com/siemens/element/blob/main/projects/element-ng/typeahead/si-typeahead.model.ts#L46-L46>) | `number` |  |
