Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1011603 // eitherIsB

JavaX fragment (include)

static <A, B> bool eitherIsB(Either<A, B> e) {
  ret e != null && e.isB();
}

Author comment

Began life as a copy of #1009660

download  show line numbers  debug dex  old transpilations   

Travelled to 17 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ekrmjmnbrukm, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, qsqiayxyrbia, tslmcundralx, tvejysmllsmz, vouqrxazstgt, wnsclhtenguj

No comments. add comment

Snippet ID: #1011603
Snippet name: eitherIsB
Eternal ID of this version: #1011603/1
Text MD5: b9d6cea06593ce320c4597257df07528
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-01 00:04:35
Source code size: 78 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 387 / 3378
Referenced in: [show references]