Call
On this page

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'

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

Syntax

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

Call(store(gid.x))

Source

src/core/ir/builder.ts, line 1777, at commit 26de7be8

Edit this page Report a problem