Health.Health.clamp_word_bounded: law of gralha-bendquest@0.1.0.0 Import: import gralha-bendquest@0.1.0.0/health.bend as Health Lines 369-372 of gralha-bendquest@0.1.0.0/health.bend: https://jend.leeeet.dev/read.txt?path=gralha-bendquest@0.1.0.0/health.bend&start_line=369&end_line=372 import Base import gralha-bendquest@0.1.0.0/game.bend as G law Health.clamp_word_bounded: for +hp: U32 for +maximum: U32 {G.Bq.Nat.le(U32.to_nat(Health.clamp_word(hp, maximum)), U32.to_nat(maximum)) == True{} : Bool} Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Equal.sym https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.to_nat https://jend.leeeet.dev/definition.txt?path=gralha-bendquest@0.1.0.0/game.bend&name=Bq.Nat.le https://jend.leeeet.dev/definition.txt?path=gralha-bendquest@0.1.0.0/health.bend&name=Health.clamp https://jend.leeeet.dev/definition.txt?path=gralha-bendquest@0.1.0.0/health.bend&name=Health.clamp_bounded https://jend.leeeet.dev/definition.txt?path=gralha-bendquest@0.1.0.0/health.bend&name=Health.clamp_word https://jend.leeeet.dev/definition.txt?path=gralha-bendquest@0.1.0.0/health.bend&name=Health.clamp_word_exact