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

7
LINES

< > BotCompany Repo | #764 // domain - short for domainName

JavaX fragment (include)

static S domain() {
  ret domainName();
}

static S domain(S url) {
  ret hostNameFromURL(url);
}

Author comment

Began life as a copy of #763

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #764
Snippet name: domain - short for domainName
Eternal ID of this version: #764/3
Text MD5: 1eabec78a472fbed9b6c2c80072503b2
Author: stefan
Category: eleu / javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-11-14 20:37:10
Source code size: 103 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 755 / 701
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1033595 - domainOrNull