UNPKG
geninq
Version:
latest (0.0.3)
0.0.3
0.0.2
0.0.1
A JavaScript version of the Linq library for Generators
github.com/PaulPopat/geninq
PaulPopat/geninq
geninq
/
src
/
functions
/
empty.ts
6 lines
(5 loc)
•
157 B
text/typescript
View Raw
1
2
3
4
5
6
/** * Builds an empty generator with the specified type. *
@returns
An empty generator or specified type. */
export
function
*
Empty
<T>():
Generator
<T> {}