Skip to main content

Variable: empty

const empty: Iterable<any>

Defined in: core.d.ts:364

An iterable that contains zero values.

Can be used as an iterable of any type.

Like [], but opaque.

Example

import { empty } from 'lfi'

console.log([...empty])
//=> []
Playground

Since

v0.0.1