# core/predicates/record.predicate.ts

> 3 lines of code and 1 definition.

Tree: Code Parse
Language: typescript
Layer: infrastructure
Canonical: https://banes-lab.com/anatomy/code-parse#file-code-parse-core-predicates-record-predicate-ts
Source text: https://banes-lab.com/source/code-parse/core/predicates/record.predicate.ts.txt

Listed in [core/predicates](https://banes-lab.com/api/source/code-parse/core/predicates.md), before [core/predicates/syntax.predicate.ts](https://banes-lab.com/source/code-parse/core/predicates/syntax.predicate.ts.md).

## Definitions

- `isRecord` (lexical_declaration, line 1, exported)

## Contained in

- [core/predicates](https://banes-lab.com/anatomy/code-parse/folder-code-parse-core-predicates.md)

## Used by

- [core/loaders/source.loader.ts](https://banes-lab.com/source/code-parse/core/loaders/source.loader.ts.md)

## Linked from

- [core/loaders](https://banes-lab.com/anatomy/code-parse/folder-code-parse-core-loaders.md)

## Source

```typescript
export const isRecord = function isRecord(value: unknown): value is Record<string, unknown> {
    return typeof value === "object" && value !== null && !Array.isArray(value);
};
```
