MCPcopy Create free account
hub / github.com/UI5/webcomponents / addConditionally

Function addConditionally

packages/main/test/pages/diffable-html.js:4031–4034  ·  view source on GitHub ↗
(obj, prop, what, where, recurse)

Source from the content-addressed store, hash-verified

4029 }
4030
4031 function addConditionally(obj, prop, what, where, recurse){
4032 var tmp = fetch(what, where, recurse);
4033 if(tmp) obj[prop] = tmp;
4034 }
4035
4036 var isValidFeed = function(value){
4037 return value === "rss" || value === "feed" || value === "rdf:RDF";

Callers 1

diffable-html.jsFile · 0.85

Calls 1

fetchFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…