The assert expression is a debugging feature of F#. You can use it to test an expression. It generates a system error dialog box upon failure in Debug mode.
Example :
let divide (x:int, y:int):int =
assert (x>0)
let z = (x/y)
z
let result = divide(10,2)
printf "%d" result