6 lines
84 B
JavaScript
6 lines
84 B
JavaScript
function isBoolean(x) {
|
|
return typeof x === 'boolean';
|
|
}
|
|
|
|
export { isBoolean };
|