Files
SnowLuma/.pnpm-store/v11/files/ee/15864fafa47963847d7db5118bf946b164f6f673d02d971dd1fa4eeb1320d5f274c2fd14d4c7b94f0f232acbcbf5849bf27c4a505090b6af8d957c325ede89
TanTan 2a69b23b47
Dev Build / cleanup (push) Canceled after 0s
Dev Build / typecheck (push) Canceled after 0s
Dev Build / build (linux-arm64, ubuntu-24.04-arm, linux-arm64) (push) Canceled after 0s
Dev Build / build (linux-x64, ubuntu-latest, linux-x64) (push) Canceled after 0s
Dev Build / build (win-x64, windows-latest, win32-x64) (push) Canceled after 0s
Dev Build / dispatch-dev-docker (push) Skipped
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

12 lines
291 B
Plaintext

/**
* Provided a value and a ValueType, returns the value as that value type.
*/
const getValueAsType = (value, type) => {
return type && typeof value === "number"
? type.transform(value)
: value;
};
export { getValueAsType };
//# sourceMappingURL=get-as-type.mjs.map