UNPKG

auspice

Version:

Web app for visualizing pathogen evolution

10 lines (6 loc) 155 B
'use strict'; const rgbaRegex = require('rgba-regex'); function isRgba(str) { return rgbaRegex({ exact: true }).test(str); } module.exports = isRgba;