code: def boolean() -> SelectorType:
      """
      Select all boolean columns.
  
      See Also
      --------
      by_dtype : Select all columns matching the given dtype(s).
  
      Examples
      --------
      >>> import polars.selectors as cs
      >>> df = pl.DataFrame({"n": range(1, 5)}).with_columns(n_even=pl.col("n") % 2 == 0)
      >>> df
      shape: (4, 2)
      ┌─────┬────────┐
      │ n   ┆ n_even │
      │ --- ┆ ---    │
      │ i64 ┆ bool   │
      ╞═════╪════════╡
      │ 1   ┆ false  │
      │ 2   ┆ true   │
      │ 3   ┆ false  │
      │ 4   ┆ true   │
      └─────┴────────┘
  
      Select and invert boolean columns:
  
      >>> df.with_columns(is_odd=cs.boolean().not_())
      shape: (4, 3)
      ┌─────┬────────┬────────┐
      │ n   ┆ n_even ┆ is_odd │
      │ --- ┆ ---    ┆ ---    │
      │ i64 ┆ bool   ┆ bool   │
      ╞═════╪════════╪════════╡
      │ 1   ┆ false  ┆ true   │
      │ 2   ┆ true   ┆ false  │
      │ 3   ┆ false  ┆ true   │
      │ 4   ┆ true   ┆ false  │
      └─────┴────────┴────────┘
  
      Select all columns *except* for those that are boolean:
  
      >>> df.select(~cs.boolean())
      shape: (4, 1)
      ┌─────┐
      │ n   │
      │ --- │
      │ i64 │
      ╞═════╡
      │ 1   │
      │ 2   │
      │ 3   │
      │ 4   │
      └─────┘
  
      """
      return _selector_proxy_(F.col(Boolean), name="boolean")
  
imports: from __future__ import annotations
  import re
  from datetime import timezone
  from functools import reduce
  from operator import or_
  from typing import TYPE_CHECKING, Any, Collection, Literal, Mapping, overload
  from polars import functions
  from polars.datatypes import FLOAT_DTYPES, INTEGER_DTYPES, NUMERIC_DTYPES, SIGNED_INTEGER_DTYPES, TEMPORAL_DTYPES, UNSIGNED_INTEGER_DTYPES, Binary, Boolean, Categorical, Date, Datetime, Decimal, Duration, Object, String, Time, is_polars_dtype
  from polars.expr import Expr
  from polars.utils.deprecation import deprecate_nonkeyword_arguments
  from polars.utils.various import is_column
label_desc: Use image node_id 11 for calling a global function with example usage: boolean() and returns: _selector_proxy_