"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isUndefined = isUndefined;
exports.valueOrDefault = valueOrDefault;
exports.isDateValid = isDateValid;
function isUndefined(value) {
    return value === undefined;
}
function valueOrDefault(value, defaultVal) {
    return value != undefined ? value : defaultVal;
}
function isDateValid(dateStr) {
    if (!dateStr)
        return false;
    return !isNaN(new Date(dateStr).getTime());
}
//# sourceMappingURL=check.js.map