UNPKG
iterize
Version:
latest (1.5.0)
1.5.0
1.4.0
1.3.0
1.2.0
1.1.0
1.0.1
1.0.0
0.9.2
0.9.1
0.9.0
0.0.1
Use JavaScript Iterator, Easily
github.com/hg-pyun/iterize
hg-pyun/iterize
iterize
/
lib
/
commons
/
utility.d.ts
5 lines
(4 loc)
•
225 B
TypeScript
View Raw
1
2
3
4
5
import
{
IterableProtocol
}
from
'./types'
;
declare
function
isIterator
(
value
:
any
): value is
IterableProtocol
;
declare
function
isRepeatIterator
(
iterator
:
IterableProtocol
):
boolean
;
export
{ isIterator, isRepeatIterator };