Object maxOfLast(PropertyAtom pa, int last_n_times)
Object maxOfLast(PropertyAtom pa, int last_n_times)
Name | Type | Description |
---|---|---|
pa | PropertyAtom | The target property for calculation. |
last_n_times | int | The number of last history entries to be compared. |
Type | Description |
---|---|
Object | The maximum value of the last n history entries. The return object type is the same as the type of the value of 'pa'. |