Skip to content

PersistentAI API Documentation / @persistentai/fireflow-types / validateObjectValue

Function: validateObjectValue()

validateObjectValue(maybeValue, config): string[]

Defined in: packages/fireflow-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