@sapphire/lexure
Advanced tools
Comparing version 1.0.1-next.57e8a2a.0 to 1.0.1-next.7c3ec61.0
@@ -94,2 +94,5 @@ "use strict"; | ||
} | ||
mapInto(cb) { | ||
return cb(this.value); | ||
} | ||
mapOr(_, cb) { | ||
@@ -104,2 +107,5 @@ return cb(this.value); | ||
} | ||
mapErrInto() { | ||
return this; | ||
} | ||
inspect(cb) { | ||
@@ -211,2 +217,5 @@ cb(this.value); | ||
} | ||
mapInto(cb) { | ||
return cb(this.value); | ||
} | ||
mapOr(_, cb) { | ||
@@ -218,2 +227,5 @@ return cb(this.value); | ||
} | ||
mapNoneInto() { | ||
return this; | ||
} | ||
inspect(cb) { | ||
@@ -317,2 +329,5 @@ cb(this.value); | ||
} | ||
mapInto() { | ||
return this; | ||
} | ||
mapOr(defaultValue) { | ||
@@ -327,2 +342,5 @@ return defaultValue; | ||
} | ||
mapErrInto(cb) { | ||
return cb(this.error); | ||
} | ||
inspect() { | ||
@@ -431,2 +449,5 @@ return this; | ||
} | ||
mapInto() { | ||
return this; | ||
} | ||
mapOr(defaultValue) { | ||
@@ -438,2 +459,5 @@ return defaultValue; | ||
} | ||
mapNoneInto(cb) { | ||
return cb(); | ||
} | ||
inspect() { | ||
@@ -440,0 +464,0 @@ return this; |
{ | ||
"name": "@sapphire/lexure", | ||
"version": "1.0.1-next.57e8a2a.0", | ||
"version": "1.0.1-next.7c3ec61.0", | ||
"description": "Parser and utilities for non-technical user input", | ||
@@ -5,0 +5,0 @@ "author": "@sapphire", |
Sorry, the diff of this file is not supported yet
258929
2658