Skip to content

Assert.IsNot

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 different from a given value.

Examples

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