dhis2/d2-utilizr

View on GitHub
src/isBoolean.js

Summary

Maintainability
A
0 mins
Test Coverage
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;