MCPcopy Index your code
hub / github.com/chartbrew/chartbrew / normalizeVariableEntries

Function normalizeVariableEntries

client/src/modules/chartRuntimeFilters.js:37–41  ·  view source on GitHub ↗
(variables = {})

Source from the content-addressed store, hash-verified

35}
36
37function normalizeVariableEntries(variables = {}) {
38 return Object.entries(variables)
39 .filter(([, value]) => value !== undefined && value !== null && value !== "")
40 .sort(([left], [right]) => left.localeCompare(right));
41}
42
43function buildFilterKey(filter) {
44 return JSON.stringify({

Callers 1

buildChartRuntimeRequestFunction · 0.85

Calls 1

filterMethod · 0.80

Tested by

no test coverage detected