mirror of
https://gh.wpcy.net/https://github.com/djav1985/v-wordpress-plugin-updater.git
synced 2026-04-29 10:00:49 +08:00
9 lines
297 B
JavaScript
9 lines
297 B
JavaScript
import { isValueFunction } from './typeGuards.mjs';
|
|
|
|
/**
|
|
* @param {import('postcss-value-parser').Node} node
|
|
* @returns {node is import('postcss-value-parser').FunctionNode}
|
|
*/
|
|
export default function isUrlFunction(node) {
|
|
return isValueFunction(node) && node.value.toLowerCase() === 'url';
|
|
}
|