campus-errand/miniapp/node_modules/is-what/dist/isWeakSet.js
2026-03-01 05:01:47 +08:00

6 lines
170 B
JavaScript

import { getType } from './getType.js';
/** Returns whether the payload is a WeakSet */
export function isWeakSet(payload) {
return getType(payload) === 'WeakSet';
}