Skip to main content

Type Alias: Arg

Arg = object

Defined in: packages/native/dist/types.d.ts:98

An argument for an FFI call.

Combines a value with its type information for marshaling.

Properties

optional?

optional optional: boolean

Defined in: packages/native/dist/types.d.ts:104

Whether the argument can be null/undefined


type

type: Type

Defined in: packages/native/dist/types.d.ts:100

Type descriptor for marshaling


value

value: unknown

Defined in: packages/native/dist/types.d.ts:102

The argument value