Skip to content

Latest commit

 

History

History
28 lines (14 loc) · 524 Bytes

assert_assertwithmessage.md

File metadata and controls

28 lines (14 loc) · 524 Bytes

View this file with results and syntax highlighting here.

Exclamation Mark (!)

! 𝕩: Assert

→full documentation

Throw an error if 𝕩 is not 1.

    ! 1

    ! 2

    ! "hello"

𝕨 ! 𝕩: Assert With Message

→full documentation

Throw an error with message 𝕨 if 𝕩 is not 1.

    "hi" ! 1

    "two" ! 2

    "hello error" ! "hello"