---
url: /api/specs/schema/types/utils/function-concat-path.md
description: api documentation of concatPath from @tsed/schema
---

## Usage

```typescript
import { concatPath } from "@tsed/schema";
```

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

## Overview

```ts
function concatPath(basePath: string | undefined | RegExp, path: string | undefined | RegExp): any;
```
