dynamic-forms / Function

isCrossFieldSchema

Detects if a SchemaApplicationConfig has a cross-field condition.

Presentation

function isCrossFieldSchema(
  config: SchemaApplicationConfig,
  context?: CrossFieldDetectionContext | undefined,
): boolean;

Returns

boolean -

true if the schema condition references other fields

Parameters

NameTypeDescription
config
SchemaApplicationConfig

The schema application configuration to check

context
CrossFieldDetectionContext | undefined

Optional context providing function scope lookup