import { List } from '../list' import * as utils from '../utils' export function toList(source: Iterable): List { utils.throws.ThrowIfNull('source', source) return new List(source) }