# less_equal 関数

第1の値が第2の値以下であるときに真になります。\<= の関数形です。

## 書き方

### less_equal(a, b)

**a**

値。式を受け取ります。

**b**

値。式を受け取ります。

## 例題

- $\displaystyle \operatorname{less\_equal}(2, 2) = \operatorname{true}$

  `less_equal(2, 2)`

  ソルバーでは、`less_equal(2, 2)` の答えは `true` です。

  [ソルバーで開く](https://ja.hilberon.com/?q=less_equal%282%2C%202%29)

## 関連する関数

- [less](https://ja.hilberon.com/library/less)

  第1の値が第2の値より小さいときに真になります。\< の関数形です。
- [greater_equal](https://ja.hilberon.com/library/greater_equal)

  1番目の値が2番目の値以上のときに真。>=の関数形。
- [equal](https://ja.hilberon.com/library/equal)

  2つの値が等しいとき True を返します：== の関数版。
- [logical_and](https://ja.hilberon.com/library/logical_and)

  すべての条件が真であるときに真になります。and の関数形です。
- [logical_expand](https://ja.hilberon.com/library/logical_expand)

  論理式の中で or の上に and を分配します。
- [is_tautology](https://ja.hilberon.com/library/is_tautology)

  条件がその変数のすべての値で成り立つかどうかを判定します。

---
Source: https://ja.hilberon.com/library/less_equal
