Variable: empty()
constempty: <Value>() =>Iterable<Value>
Defined in: core.d.ts:439
An iterable that contains zero values.
Can be used as an iterable of any type.
Like [], but opaque.
Type Parameters
Value
Value = unknown
Returns
Iterable<Value>
Example
import { empty } from 'lfi'
console.log([...empty()])
//=> []
Since
v0.0.1