Function isBoolean

  • It will determine whether the provided value is a boolean or not.

    Parameters

    • value: unknown

    Returns value is boolean

    Since

    1.0.0

    Example

    isBoolean(false);
    // => true

    Example

    isBoolean(3);
    // => false