Note
Segment has paused maintenance on this project, but may return it to an active status in the future. Issues and pull requests from external contributors are not being considered, although internal contributions may appear from time to time. The project remains available under its open source license for anyone to use.
Checks whether a DOM click
event should open a link in a new tab.
$ npm install @segment/is-meta
var isMeta = require('is-meta');
a.onclick = function (event) {
isMeta(event); // true or false
};