Files
NapCatQQ/.pnpm-store/v3/files/57/d27e6352e20c8ea66787d3d70ad880dbc2b5679f851b4ce55ab97997ca675b982ec18b32a2145fbbd5b20eaaed15018efd5c2fe037bf37165412c26e6a05f5
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

7 lines
258 B
Plaintext

'use strict';
/** @type {(value: unknown) => value is null | undefined | string | symbol | number | boolean | bigint} */
module.exports = function isPrimitive(value) {
return value === null || (typeof value !== 'function' && typeof value !== 'object');
};