import { IEnumerable } from '../Enumerables'; /** * Notes: * * Have tried to do Iterable but the problem is that in the * spec iterable has no guarantee that it is re-playable so * any type of iteration on it to see if it is empty will * move it next. * */ export type EmptyableType = { length: number; } | { count: number; } | IEnumerable | string | unknown[]; export default function isEmpty(subject: EmptyableType): boolean;