Last change
on this file since 59329aa was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
287 bytes
|
Line | |
---|
1 | "use strict";
|
---|
2 |
|
---|
3 | Object.defineProperty(exports, "__esModule", {
|
---|
4 | value: true
|
---|
5 | });
|
---|
6 | exports.default = exists;
|
---|
7 |
|
---|
8 | function exists(selector, index, value) {
|
---|
9 | const node = selector.at(index);
|
---|
10 | return node && node.value && node.value.toLowerCase() === value;
|
---|
11 | }
|
---|
12 |
|
---|
13 | module.exports = exports.default; |
---|
Note:
See
TracBrowser
for help on using the repository browser.