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

3
LINES

< > BotCompany Repo | #1032123 // unpackOKOrError

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (4355L/25K).

static <A> A unpackOKOrError(OKOrError<A> okOrError) {
  ret okOrError == null ?: okOrError!;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx

No comments. add comment

Snippet ID: #1032123
Snippet name: unpackOKOrError
Eternal ID of this version: #1032123/1
Text MD5: b32bc50715218e84531a96e6af88e538
Transpilation MD5: 28d7bed2b5cb33db6ebb555dd73bd8e7
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-08-14 03:07:51
Source code size: 97 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 169 / 227
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)