Max

List
Tanto lado del cliente como del usuario
Disponible en PC y móvil

Return the maximum value in a list

Declaración

func Max(target List<object>, out var isSuccess bool, out var result Number)
go

Parámetros

Entrada

Nombre Tipo Descripción
Target List Target list, only accepts list elements of numeric type

Afuera

Nombre Tipo Descripción
Is Success Bool Compare the results. If there are non-digits in the list, the comparison fails and returns false.
Result Number Returns the largest value in the list if the comparison succeeds, and 0 if the comparison fails