replace_list function

Replace (refresh) a list

Replace (refresh) a list

Unlike update_list, this function only modifies, and does not add, items in the list.

replace_list(old, new)

Arguments

  • old: the original list
  • new: the things to update old with

Returns

A refreshed list.