> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nanoforge.eu/llms.txt
> Use this file to discover all available pages before exploring further.

# IsMACAddress

> Check if the string is a MAC address. If given value is not a string, then it returns false.

## Call Signature

> **IsMACAddress**(`optionsArg?`, `validationOptionsArg?`): `PropertyDecorator`

Defined in: node\_modules/.pnpm/class-validator\@0.14.4/node\_modules/class-validator/types/decorator/string/IsMacAddress.d.ts:13

Check if the string is a MAC address.
If given value is not a string, then it returns false.

### Parameters

#### optionsArg?

`IsMACAddressOptions`

#### validationOptionsArg?

`ValidationOptions`

### Returns

`PropertyDecorator`

## Call Signature

> **IsMACAddress**(`validationOptionsArg?`): `PropertyDecorator`

Defined in: node\_modules/.pnpm/class-validator\@0.14.4/node\_modules/class-validator/types/decorator/string/IsMacAddress.d.ts:14

Check if the string is a MAC address.
If given value is not a string, then it returns false.

### Parameters

#### validationOptionsArg?

`ValidationOptions`

### Returns

`PropertyDecorator`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.