7 lines
168 B
JavaScript
7 lines
168 B
JavaScript
|
exports.sectionFilter = (
|
||
|
{ type, tagName, properties: { id = '' } },
|
||
|
sectionId
|
||
|
) => {
|
||
|
return type === 'element' && tagName === 'section' && id === sectionId;
|
||
|
};
|