This repository has been archived on 2024-07-27. You can view files and clone it, but cannot push or open issues or pull requests.
|
'use strict';
|
|
|
|
const rgbRegex = require('rgb-regex');
|
|
|
|
function isRGB(str) {
|
|
return rgbRegex({ exact: true }).test(str);
|
|
}
|
|
|
|
module.exports = isRGB;
|