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

5
LINES

< > BotCompany Repo | #1035704 // assertLessThanOrEqualTo

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

Transpiled version (13019L) is out of date.

static <A> A assertLessThanOrEqualTo(S msg default "", A a, A b) {
  if (cmp(b, a) > 0)
    fail(joinNemptiesWithColon(msg, b + " > " + a));
  ret b;
}

Author comment

Began life as a copy of #1028348

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035704
Snippet name: assertLessThanOrEqualTo
Eternal ID of this version: #1035704/3
Text MD5: 93e6bba6d5fb2cc3d635eeb162367637
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-07-09 22:56:58
Source code size: 155 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 121 / 173
Version history: 2 change(s)
Referenced in: [show references]