@sapphire/lexure
Advanced tools
Comparing version 1.0.2-next.6b2c3aa.0 to 1.0.2-next.715315e.0
@@ -174,2 +174,5 @@ "use strict"; | ||
} | ||
async intoPromise() { | ||
return ok(await this.value); | ||
} | ||
eq(other) { | ||
@@ -292,2 +295,5 @@ return other.isOkAnd((value) => this.value === value); | ||
} | ||
async intoPromise() { | ||
return some(await this.value); | ||
} | ||
eq(other) { | ||
@@ -414,2 +420,5 @@ return other.isSomeAnd((value) => this.value === value); | ||
} | ||
async intoPromise() { | ||
return err(await this.error); | ||
} | ||
eq(other) { | ||
@@ -526,2 +535,5 @@ return other.isErrAnd((error) => this.error === error); | ||
} | ||
intoPromise() { | ||
return Promise.resolve(none); | ||
} | ||
eq(other) { | ||
@@ -528,0 +540,0 @@ return other.isNone(); |
{ | ||
"name": "@sapphire/lexure", | ||
"version": "1.0.2-next.6b2c3aa.0", | ||
"version": "1.0.2-next.715315e.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
259581
2658