• Checks if a value is a boolean.

    Parameters

    Returns val is boolean

    True if the value is a boolean, false otherwise.