Exclamation Mark (!)

January 30, 2022 ยท View on GitHub

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"

Contents

  1. 1! ๐•ฉ: Assert
  2. 2๐•จ ! ๐•ฉ: Assert With Message