respace.ResultSet.get_nth_last_result#

ResultSet.get_nth_last_result(res_name: str, n: int = 1) Any[source]#

Get the nth last computed value of result res_name.

Parameters:
res_namestr

Name of the result for which to get the value.

nint

Negative index for which to get the value, meaning the method will return list_of_values[-n]. By default the value computed last will be returned.

Returns:
Any

nth last value of result res_name