---
title: "Call(): function in Authoring, TypeShade API reference"
description: "Call, a function in Authoring. Push a call as a statement onto the innermost scope, kept for its effect and nothing else."
url: https://typeshade.dev/api/call/
language: en
---

# `Call()`

Function in Authoring

Push a call as a statement onto the innermost scope, kept for its effect and nothing else.

`import { Call } from 'typeshade/core/ir'`

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

## Syntax

```ts
const Call: (node: ReadonlyNode) => void
```

## Parameters

**`node` `ReadonlyNode`**

## Return value

`void`

## Description

A `fn` whose body writes a storage binding is called this way when its result is not wanted; without it the returned node is a discarded expression and nothing is emitted.

## Examples

### Example

```ts
Call(store(gid.x))
```

## Source

[`src/core/ir/builder.ts`, line 1500](https://github.com/typeshade/typeshade/blob/af54ddad5/src/core/ir/builder.ts#L1500), at commit af54ddad5
