## isCoding() function [​](/content/docs/sdk/core.iscoding#iscoding-function "Direct link to isCoding(/index.html) function")

Returns true if the input value is a Coding object. This is a heuristic check based on the presence of the "code" property.

**Signature:**

```typescript
export declare function isCoding(value: unknown): value is Coding & {

code: string;
};
```

## Parameters [​](/content/docs/sdk/core.iscoding#parameters "Direct link to Parameters"/index.html)

| Parameter | Type | Description |
| --- | --- | --- |
| value | unknown | The candidate value. |

**Returns:**

value is Coding & { code: string; }

True if the input value is a Coding.

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