Files
avz-site/node_modules/is-what/dist/isWeakMap.js
T
2026-06-10 12:38:42 -03: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';
}