UNPKG

d2-ui

Version:
11 lines (9 loc) 295 B
import isBoolean from 'lodash.isboolean'; /** * Check if a value is a boolean value `true` or `false` * * @name isBoolean * @param {*} param The value to check for boolean type * @returns {boolean} Returns `true` when the value is a boolean otherwise `false` */ export default isBoolean;