Files
2026-02-13 22:02:30 +01: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';
}