APIcollect()collect.destroy()On this pageMethod: collect.destroy() collect.destroy(): void Destroy all the Collectors. Parameters None. Returns void Examples Destroy all collectors collect.destroy();