## codingMatchesToken() function

Checks if a Coding matches a token search string [https://build.fhir.org/search.html#token](https://build.fhir.org/search.html#token)

**Signature:**

```typescript
export declare function codingMatchesToken(coding: Coding, token: string): boolean;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| coding | Coding | The Coding to test |
| token | string | The token string to test |

**Returns:**

boolean

True if the Coding matches the token

- [codingMatchesToken() function](/content/docs/sdk/core.codingmatchestoken#codingmatchestoken-function/index.html)
- [Parameters](/content/docs/sdk/core.codingmatchestoken#parameters/index.html)
