MCPcopy
hub / github.com/QasimWani/LeetHub / checkElem

Function checkElem

scripts/leetcode.js:387–389  ·  view source on GitHub ↗
(elem)

Source from the content-addressed store, hash-verified

385
386/* Util function to check if an element exists */
387function checkElem(elem) {
388 return elem && elem.length > 0;
389}
390function convertToSlug(string) {
391 const a =
392 'àáâäæãåāăąçćčđďèéêëēėęěğǵḧîïíīįìłḿñńǹňôöòóœøōõőṕŕřßśšşșťțûüùúūǘůűųẃẍÿýžźż·/_,:;';

Callers 7

findCodeFunction · 0.85
getProblemNameSlugFunction · 0.85
parseQuestionFunction · 0.85
parseStatsFunction · 0.85
getNotesIfAnyFunction · 0.85
leetcode.jsFile · 0.85
insertToAnchorElementFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected