Function isBoolean

  • Checks if value is classified as a boolean primitive.

    Contribution to minified bundle size, when it is the only function imported:

    • Lodash: 794 bytes
    • Micro-dash: 54 bytes

    Parameters

    • value: any

    Returns value is boolean