"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

exports.__esModule = true;
exports.default = useLDflexValue;

var _useLDflex = _interopRequireDefault(require("./useLDflex"));

/**
 * Evaluates the Solid LDflex expression into a single value.
 */
function useLDflexValue(expression) {
  return (0, _useLDflex.default)(expression, false)[0];
}