Skip to main content

minField()

Last updated 2/10/2024

The

minField()
is a function on the
Five
object that returns the minimum value from the array of records associated to the field ID. The
minField()
only works with a field that has a number data type.

Available

Client

Function Signature
minField(records: Array<FiveRecord>, fieldID: string) : number;

ParameterTypeDescription
records
ArrayAn array of records
fieldID
stringA string representing the field ID

Return Value

A number representing the minimum value for the field in a set of records.

Examples

minField()