mirror of
https://github.com/OliveTin/OliveTin
synced 2025-12-18 12:05:32 +00:00
16 lines
480 B
JavaScript
16 lines
480 B
JavaScript
// NOTICE: This file is generated by Rollup. To modify it,
|
|
// please instead edit the ESM counterpart and rebuild with Rollup (npm run build).
|
|
'use strict';
|
|
|
|
const typeGuards = require('./typeGuards.cjs');
|
|
|
|
/**
|
|
* @param {import('postcss-value-parser').Node} node
|
|
* @returns {node is import('postcss-value-parser').FunctionNode}
|
|
*/
|
|
function isUrlFunction(node) {
|
|
return typeGuards.isValueFunction(node) && node.value.toLowerCase() === 'url';
|
|
}
|
|
|
|
module.exports = isUrlFunction;
|