'use strict';

/**
 * Often used conditions.
 *
 * @module conditions
 */

/**
 * @template T
 * @param {T|null|undefined} v
 * @return {T|null}
 */
/* c8 ignore next */
const undefinedToNull = v => v === undefined ? null : v;

exports.undefinedToNull = undefinedToNull;
//# sourceMappingURL=conditions.js.map
