‘liusuyi’
2023-05-30 211ff834d1bd389498b21ea7e11c2b10a57409d8
1
2
3
4
5
6
7
8
9
'use strict';
 
const hslRegex = require('hsl-regex');
 
function isHSL(str) {
  return hslRegex({ exact: true }).test(str);
}
 
module.exports = isHSL;