UNPKG

el-beeswarm

Version:

<div style="display: flex; padding: 1rem; flex-direction: column; align-items: center; justify-content: center; height: 100vh; text-align: center; display: flex;

22 lines (18 loc) 359 B
'use strict'; /** * Check whether a math function is standard * * @param {string} mathFunction * @returns {boolean} */ module.exports = function isStandardSyntaxMathFunction(mathFunction) { // SCSS variable if (mathFunction.includes('$')) { return false; } // Less variable if (mathFunction.includes('@')) { return false; } return true; };