Max

List
Both Server and Client
Both Mobile and PC

Return the maximum value in a list

Declaration

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

Parameters

Input

Name Type Description
Target List Target list, only accepts list elements of numeric type

Out

Name Type Description
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