Skip to main content

FormControlDataWithType Methods

An object defining methods for the FormControlDataWithType class.

GetDataType(type, isArray)

Converts a primitive type and array flag into a specific FormControlDataType.

Parameters:

type (required): PrimitiveType
The primitive type to convert.

isArray (optional): bool
Whether the data should be treated as an array. Defaults to false.

Returns:

Type: FormControlDataType
The corresponding data type for the control.

This is a sync method. Method runs synchronously.