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

    Parameters

    • Optional value: any

      The value to check.

    Returns value is boolean

    Returns true if value is correctly classified, else false.