Comparing version 0.0.16 to 0.0.17
@@ -26,3 +26,3 @@ "use strict"; | ||
static of(list) { | ||
return list instanceof Array ? new Seq(sequence(list)) : list instanceof Seq ? list : new Seq(list); | ||
return Array.isArray(list) ? new Seq(sequence(list)) : list instanceof Seq ? list : new Seq(list); | ||
} | ||
@@ -41,3 +41,3 @@ | ||
concat(seq) { | ||
return new Seq(concat(this.seq, Array.isArray(seq) ? sequence(seq) : seq.seq)); | ||
return new Seq(concat(this.seq, Array.isArray(seq) ? sequence(seq) : seq instanceof Seq ? seq.seq : seq)); | ||
} | ||
@@ -44,0 +44,0 @@ |
{ | ||
"name": "lazily", | ||
"version": "0.0.16", | ||
"version": "0.0.17", | ||
"author": "Jeswin<jeswinpk@agilehead.com>", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
88385