Plato on Github
Report Home
node_modules/cli-color/test/lib/xterm-colors.js
Maintainability
83.26
Lines of code
10
Difficulty
4.41
Estimated Errors
0.06
Function weight
By Complexity
By SLOC
'use strict'; module.exports = function (t, a) { var re = /^[0-9a-f]{6}$/; a(t.length, 256, "Length"); t.forEach(function (data, index) { a(re.test(data), true, "In range #" + index); }); };