is_lpair(obj)
Return true if obj is lazy sequence, otherwise return false.
true
obj
false
function gen(x) x:~gen(x+1) let xs = gen(10) nth(23, xs) // 33 is_lpair(xs) // true
Core Module Index | Contents