dynamic-forms / Function

hasChildFields

Generic types:T

Type guard to check if a field definition has child fields. This is a looser check that works with FieldDef without requiring RegisteredFieldTypes.

Presentation

function hasChildFields(field: FieldDef<T>): boolean;

Returns

boolean

Parameters

NameTypeDescription
field
FieldDef<T>