forall(f: (v: B)=>boolean): boolean {
        return this.isLeft || f(<B>this.value);
    }