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

8
LINES

< > BotCompany Repo | #1001713 // hasBot

JavaX fragment (include)

static boolean hasBot(S searchPattern) ctex {
  DialogIO io = findBot(searchPattern);
  if (io != null) {
    io.close();
    ret true;
  } else
    ret false;
}

Author comment

Began life as a copy of #1001303

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1001713
Snippet name: hasBot
Eternal ID of this version: #1001713/3
Text MD5: 5fcfc3ffc3bfb5add0872da9bea0c32b
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-14 11:08:04
Source code size: 168 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 736 / 979
Version history: 2 change(s)
Referenced in: #1002427 - Accellerating 629 (SPIKE)
#1006654 - Standard functions list 2 (LIVE, continuation of #761)
#3000188 - Answer for stefanreich(>> t search)
#3000202 - Answer for stefanreich (>> T conversion bot)
#3000238 - Answer for stefanreich (>> t power bot)
#3000382 - Answer for ferdie (>> t = 1, f = 0)