···2121 public isErr(): this is Err<T, E> {
2222 return false;
2323 }
2424+2525+ public unwrap(): T {
2626+ return this.value;
2727+ }
2428}
25292630/**
···4347 /** Type guard indicating failure */
4448 public isErr(): this is Err<T, E> {
4549 return true;
5050+ }
5151+5252+ public unwrap(): T {
5353+ throw this.error;
4654 }
4755}
4856···9098 // If no errors were found, return an Ok with the collected values
9199 return ok<T[], E>(values);
92100};
9393-9410195102// --- Either Type (kept separate for now) ---
96103