MCPcopy Index your code
hub / github.com/microsoft/SandDance / lab

Function lab

docs/app/js/sanddance-app.js:128057–128059  ·  view source on GitHub ↗
(l, a, b, opacity)

Source from the content-addressed store, hash-verified

128055 return new Lab(l, 0, 0, opacity == null ? 1 : opacity);
128056}
128057function lab(l, a, b, opacity) {
128058 return arguments.length === 1 ? labConvert(l) : new Lab(l, a, b, opacity == null ? 1 : opacity);
128059}
128060exports.default = lab;
128061function Lab(l, a, b, opacity) {
128062 this.l = +l;

Callers

nothing calls this directly

Calls 2

labConvertFunction · 0.70
opacityFunction · 0.70

Tested by

no test coverage detected