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

5
LINES

< > BotCompany Repo | #1031445 // invfulltag - full HTML tag with reversed parameter order (contents last)

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

Libraryless. Click here for Pure Java version (2986L/17K).

sS invfulltag(S tag, O... paramsAndContents) {
  if (even(l(paramsAndContents))) ret hfulltag(tag, "", paramsAndContents);
  O contents = last(paramsAndContents);
  ret hfulltag(tag, contents, dropLastFromObjectArray(paramsAndContents));
}

Author comment

Began life as a copy of #1016336

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1031445
Snippet name: invfulltag - full HTML tag with reversed parameter order (contents last)
Eternal ID of this version: #1031445/1
Text MD5: 888684584917f90a61572e07d5aa569f
Transpilation MD5: 769f64ba83cb31acc4d0686ebe7fc595
Author: stefan
Category: javax / html
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-06-14 00:06:02
Source code size: 243 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 66 / 116
Referenced in: [show references]