Skip to content

Assert.Is

Name Mandatory Description Default Type
⬅️ Input The input can be of any type. Any
Output ➡️ The output will be the input (passthrough). Any
Value No The value to test against for equality. none Any
Break No If we should trigger a debug breakpoint on failure. false Bool

This assertion is used to check whether the input is equal to a given value.

Examples

1
2
3
4
;; Break = `true`, assertion true
;; => log no errors and don't abort program
8
Assert.Is(Value: 8 Break: false)