# Type Alias: PixiVNJsonFunction (/jsdoc/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/336c45bc1f677c3b088aac058f0a457afc7cf32e/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`](/jsdoc/pixi-vn-json/index/type-aliases/PixiVNJsonConditions) | `StorageElementType` | [`PixiVNJsonValueGet`](/jsdoc/pixi-vn-json/index/type-aliases/PixiVNJsonValueGet) | [`PixiVNJsonArithmeticOperations`](/jsdoc/pixi-vn-json/index/type-aliases/PixiVNJsonArithmeticOperations))\[]

Defined in: [src/schema/PixiVNJsonValue.ts:99](https://github.com/DRincs-Productions/pixi-vn-json/blob/336c45bc1f677c3b088aac058f0a457afc7cf32e/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/336c45bc1f677c3b088aac058f0a457afc7cf32e/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/336c45bc1f677c3b088aac058f0a457afc7cf32e/src/schema/PixiVNJsonValue.ts#L90)
