import curriedComputed from 'ember-macro-helpers/curried-computed';

export default curriedComputed((condition, expr1, expr2) => {
  return condition ? expr2 : expr1;
});

import { conditional } from '.';

export default function(condition, expr1, expr2) {
  return conditional(condition, expr2, expr1);
}

use conditional as base for unless