是什么?要么 !在一个 Elixir 函数的末尾做什么?

What does the ? or ! at the end of an Elixir function do?

Elixir 函数末尾的 !? 是什么意思?这对语言来说是特别的还是只是对特定的包?

ExAws.S3.list_buckets() |> ExAws.request!()

在Elixir中是Naming Conventions

! 呼叫 Trailing bang

A trailing bang (exclamation mark) signifies a function or macro where failure cases raise an exception.

? 呼叫 Trailing question mark

Functions that return a boolean are named with a trailing question mark.