Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
interface NumberIterator
import { type NumberIterator } from "https://deno.land/x/masx200_leetcode_test@7.6.0/peeking-iterator/index.ts";

// This is the Iterator's API interface. // You should not implement it, or speculate about its implementation class Iterator { hasNext(): boolean {}

 next(): number {}

}

Methods

hasNext(): boolean
next(): number