MCPcopy Create free account
hub / github.com/corbanbrook/dsp.js / trim

Function trim

examples/js/processing.js:11078–11080  ·  view source on GitHub ↗
(string)

Source from the content-addressed store, hash-verified

11076 }
11077
11078 function trim(string) {
11079 return string.replace(/^\s+/,'').replace(/\s+$/,'');
11080 }
11081
11082 function appendToLookupTable(table, array) {
11083 for(var i=0,l=array.length;i<l;++i) {

Callers 5

transformParamsFunction · 0.85
transformInlineObjectFunction · 0.85
transformVarDefinitionFunction · 0.85
transformForExpressionFunction · 0.85
parseProcessingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected