Tcsm
2023-08-29 48b191b57b42f1b570f5ff8841dd38137fd250e5
1
2
3
4
5
6
7
8
9
'use strict';
 
const hslaRegex = require('hsla-regex');
 
function isHSLA(str) {
  return hslaRegex({ exact: true }).test(str);
}
 
module.exports = isHSLA;