mirror of
https://kevinblog.sytes.net/Code/Jibo-Revival-Group/JiboViteDocs.git
synced 2026-06-15 22:16:19 +00:00
6 lines
170 B
JavaScript
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';
|
|
}
|