Files
2026-06-02 10:42:33 +08:00

6 lines
170 B
JavaScript

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