Skip to content

ChainGraph API Documentation / @badaitech/chaingraph-types / validateObjectValue

Function: validateObjectValue()

validateObjectValue(maybeValue, config): string[]

Defined in: packages/chaingraph-types/src/port/plugins/ObjectPortPlugin.ts:219

Validate object port value against its config. Iterates over the properties defined in config.schema.properties.

Parameters

maybeValue

unknown

config

ObjectPortConfig

Returns

string[]

Licensed under BUSL-1.1