diff --git a/src/Data/Nullable.js b/src/Data/Nullable.js index 35039cf..affeca5 100644 --- a/src/Data/Nullable.js +++ b/src/Data/Nullable.js @@ -4,10 +4,10 @@ exports["null"] = null; -exports.nullable = function (a, r, f) { +export function nullable(a, r, f) { return a == null ? r : f(a); -}; +} -exports.notNull = function (x) { +export function notNull(x) { return x; -}; +}