# Type Alias: PixiVNJsonFunction (/pixi-vn-json/index/type-aliases/PixiVNJsonFunction)



\> **PixiVNJsonFunction** = `object`

Defined in: [src/schema/PixiVNJsonValue.ts:89](https://github.com/DRincs-Productions/pixi-vn-json/blob/f2528001a05fe854a897e0c1d03c7e311fe08af2/src/schema/PixiVNJsonValue.ts#L89)

Invokes a named function and returns its result.
Functions are registered in the Pixi'VN runtime and can receive typed arguments.

## Properties [#properties]

### args [#args]

\> **args**: ([`PixiVNJsonConditions`](/pixi-vn-json/index/type-aliases/PixiVNJsonConditions) | `StorageElementType` | [`PixiVNJsonValueGet`](/pixi-vn-json/index/type-aliases/PixiVNJsonValueGet) | [`PixiVNJsonArithmeticOperations`](/pixi-vn-json/index/type-aliases/PixiVNJsonArithmeticOperations))\[]

Defined in: [src/schema/PixiVNJsonValue.ts:99](https://github.com/DRincs-Productions/pixi-vn-json/blob/f2528001a05fe854a897e0c1d03c7e311fe08af2/src/schema/PixiVNJsonValue.ts#L99)

Arguments to pass to the function. Each argument can be a condition, a raw value,
a value-get operation, or an arithmetic expression.

***

### functionName [#functionname]

\> **functionName**: `string`

Defined in: [src/schema/PixiVNJsonValue.ts:94](https://github.com/DRincs-Productions/pixi-vn-json/blob/f2528001a05fe854a897e0c1d03c7e311fe08af2/src/schema/PixiVNJsonValue.ts#L94)

The name of the registered function to call.

***

### type [#type]

\> **type**: `"function"`

Defined in: [src/schema/PixiVNJsonValue.ts:90](https://github.com/DRincs-Productions/pixi-vn-json/blob/f2528001a05fe854a897e0c1d03c7e311fe08af2/src/schema/PixiVNJsonValue.ts#L90)
