Show Table of Contents
function::assert
名前
function::assert — アサーションの評価。
概要
assert(expression:,msg:)
引数
expression- 評価する式。
msg- フォーマットされたメッセージ文字列。
説明
この関数は式をチェックし、式がゼロと評価された場合に、現在実行されているプローブを終了します。
error を使用します。try{} catch{} によって補足できることがあります。

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.