Files
tianze_front/node_modules/is-what/dist/isBoolean.js
T
2026-11-04 14:22:20 +08:00

6 lines
170 B
JavaScript

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