Deno.ForeignStatic - Deno documentation
interface Deno.ForeignStatic
Unstable

Type Parameters

Type extends NativeType = NativeType

Properties

optional
name: string

Name of the symbol, defaults to the key name in symbols object.

The type of the foreign static value.

optional
optional: boolean = false

When true, dlopen will not fail if the symbol is not found. Instead, the symbol will be set to null.