contain-by-screen
Version:
Position a dropdown element near a button in a way that fits on the screen.
14 lines (13 loc) • 343 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.isNotNil = isNotNil;
/**
* Type predicate to avoid opting out of strict type checking in filter operations.
* Adapted from https://stackoverflow.com/a/46700791
*/
function isNotNil(value) {
return value != null;
}
//# sourceMappingURL=isNotNil.js.map