1
0
mirror of https://github.com/thangisme/notes.git synced 2025-09-24 17:44:10 -04:00

Initial commit

This commit is contained in:
Patrick Marsceill
2017-03-09 13:16:08 -05:00
commit b7b0d0d7bf
4147 changed files with 401224 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
/* @flow */
"use strict"
/**
* Check whether a media feature is a range context one
*
* @param {string} media feature
* @return {boolean} If `true`, media feature is a range context one
*/
module.exports = function (mediaFeature/*: string*/)/*: boolean*/ {
return mediaFeature.indexOf("=") !== -1 || mediaFeature.indexOf("<") !== -1 || mediaFeature.indexOf(">") !== -1
}