ram64
Version:
Multi-threaded 64bit memory cache database inspired by redis-like features
12 lines (11 loc) • 349 B
JavaScript
;
exports.fn = void 0;
var _get = require("./get");
const fn = (opts)=>{
const oldValue = (0, _get).fn(opts);
const oldStr = typeof oldValue === 'string' ? oldValue : '';
const value = oldStr.substring(opts.args?.start ?? 0, opts.args?.end ?? 0);
return value;
};
exports.fn = fn;
//# sourceMappingURL=strGetRange.js.map