exists(f: (v: B)=>boolean): boolean {
        return this.isRight && f(<B>this.value);
    }