MCPcopy Create free account
hub / github.com/microsoft/SandDance / arrayLambda

Function arrayLambda

docs/tests/v2/es6/js/sanddance.js:137721–137733  ·  view source on GitHub ↗
(array)

Source from the content-addressed store, hash-verified

137719}
137720
137721function arrayLambda(array) {
137722 var code = '[',
137723 i = 0,
137724 n = array.length,
137725 value;
137726
137727 for (; i < n; ++i) {
137728 value = array[i];
137729 code += (i > 0 ? ',' : '') + ((0, _vegaUtil.isObject)(value) ? value.signal || propertyLambda(value) : (0, _vegaUtil.stringValue)(value));
137730 }
137731
137732 return code + ']';
137733}
137734
137735function objectLambda(obj) {
137736 var code = '{',

Callers

nothing calls this directly

Calls 1

propertyLambdaFunction · 0.70

Tested by

no test coverage detected