|
Last change
on this file since ba17441 was a762898, checked in by istevanoska <ilinastevanoska@…>, 6 months ago |
|
Added visualizations
|
-
Property mode
set to
100644
|
|
File size:
239 bytes
|
| Rev | Line | |
|---|
| [a762898] | 1 | import { isObjectLike } from './isObjectLike.mjs';
|
|---|
| 2 | import { isPlainObject } from './isPlainObject.mjs';
|
|---|
| 3 |
|
|---|
| 4 | function isElement(value) {
|
|---|
| 5 | return isObjectLike(value) && value.nodeType === 1 && !isPlainObject(value);
|
|---|
| 6 | }
|
|---|
| 7 |
|
|---|
| 8 | export { isElement };
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.