value(value) {
        value = resolveFunc(value);
        if (isNull(value)) {
            throw new TypeError('Open values cannot be null or undefined.');
        }
        return safeText(formatValue({value, fm: fmFlags.raw}));
    }
@method formatting.value
@description
Represents an open value, one to be formatted according to its type, properly escaped, but without surrounding quotes for text types.

When formatting a query, a variable makes use of this method via modifier `:value` or `#`. See method {@link formatting.format format}.

@param {value|function} value
Value to be converted, or a function that returns the value.

If `value` resolves as `null` or `undefined`, it will throw {@link external:TypeError TypeError} = `Open values cannot be null or undefined.`

@returns {string}
Formatted and properly escaped string, but without surrounding quotes for text types.

@see {@link formatting.format format}