On this pageclear (Function)Function returns the cleared list.Syntax<OBJECT> list:clear(<OBJECT> list)Query ParametersNameDescriptionDefault ValuePossible Data TypesOptionalDynamiclistThe list which needs to be clearedOBJECTNoYesExample 1list:clear(stockDetails)Returns an empty list.