mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-25 09:55:15 +00:00
4 lines
206 B
JavaScript
4 lines
206 B
JavaScript
var supportedTransforms = /^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;
|
|
export default function isTransform(value) {
|
|
return !!(value && supportedTransforms.test(value));
|
|
} |