function (table
as table, optionalcomparisonCriteria
as nullable any, optionaldefault
as nullable any) as nullable any
table
, given the comparisonCriteria
. If the table is empty, the optional default
value is returned.({[a = 2, b = 4], [a = 6, b = 8]})
.[a = 6, b = 8]
({})
. Return -1 if empty.-1