UNPKG

@stylistic/stylelint-plugin

Version:
9 lines (8 loc) 275 B
/** * Checks whether a media query is a custom one. * @param {string} mediaQuery - The media query string. * @returns {boolean} True if the media query is custom, false otherwise. */ export function isCustomMediaQuery (mediaQuery) { return mediaQuery.startsWith(`--`) }