• Checks if value is classified as a boolean primitive or object.

    Parameters

    • Optionalvalue: any

      The value to check.

    Returns value is boolean

    Returns true if value is correctly classified, else false.