Open this page in the API Guide

CollectionInput.clearItems Method

Remove all items from the collection.