UNPKG

@haiku/player

Version:

Haiku Player is a JavaScript library for building user interfaces

13 lines 400 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var objectPath_1 = require("./objectPath"); function matchById(node, id, options) { var attributes = objectPath_1.default(node, options.attributes); if (attributes) { if (attributes.id === id) { return true; } } } exports.default = matchById; //# sourceMappingURL=cssMatchById.js.map