UNPKG

@tanstack/persister

Version:

Utilities for persisting state to local storage, session storage, indexedDB, and more.

12 lines (11 loc) 380 B
"use strict"; Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }); function isFunction(value) { return typeof value === "function"; } function parseFunctionOrValue(value, ...args) { return isFunction(value) ? value(...args) : value; } exports.isFunction = isFunction; exports.parseFunctionOrValue = parseFunctionOrValue; //# sourceMappingURL=utils.cjs.map