"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var maybe_1 = require("./maybe");
function first(variants) {
    return variants.find(function (variant) { return !variant.isNone(); }) || maybe_1.none;
}
exports.first = first;
