---
meta:
 - name: keywords
   description: api typescript node.js documentation matchPath function
---
# matchPath - @tsed/openapi-utils

## Usage

```typescript
import { matchPath } from "@tsed/openapi-utils";
```

> See [/packages/specs/openapi-utils/src/utils/matchPath.ts](https://github.com/tsedio/tsed/blob/v8.28.4/packages/specs/openapi-utils/src/utils/matchPath.ts#L0-L0).

## Overview

```ts
function matchPath(path: string, patterns?: string[]): boolean;
```
