isCustomMediaQuery.js 199 B

12345678910
  1. 'use strict';
  2. /**
  3. * Check whether a media query is a custom
  4. * @param {string} mediaQuery
  5. * @returns {boolean}
  6. */
  7. module.exports = function (mediaQuery) {
  8. return mediaQuery.startsWith('--');
  9. };