---
title: "isKnownIntrinsic(): function in Backends, TypeShade API"
description: "isKnownIntrinsic, a function in Backends. Returns true when name is a builtin the registry can spell on every target…"
url: https://typeshade.dev/api/isknownintrinsic/
language: en
---

# `isKnownIntrinsic()`

Function in Backends

Returns true when name is a builtin the registry can spell on every target: either an id with an INTRINSICS entry or a member of PORTABLE\_INTRINSICS.

`import { isKnownIntrinsic } from 'typeshade'`

The signature, the description and the examples come from the compiler's own source at commit af54ddad5.

## Syntax

```ts
const isKnownIntrinsic: (name: string) => boolean
```

## Parameters

**`name` `string`**

The `call` id to test.

## Return value

`boolean`

## Description

An id that is neither is a user-defined or external function, which spells the same everywhere, or a builtin nobody has classified yet. Ids in [`PRE_EMIT_INTRINSICS`](https://typeshade.dev/api/preemitintrinsics/) return false: they are removed before emit and have no spelling.

## See also

- [`INTRINSICS`](https://typeshade.dev/api/intrinsics/)
- [`PORTABLE_INTRINSICS`](https://typeshade.dev/api/portableintrinsics/)
- [`PRE_EMIT_INTRINSICS`](https://typeshade.dev/api/preemitintrinsics/)

## Source

[`src/core/intrinsics.ts`, line 1269](https://github.com/typeshade/typeshade/blob/af54ddad5/src/core/intrinsics.ts#L1269), at commit af54ddad5
