标签: f#
如何写点什么
if !inBoundary then do printfn "no it's not within the boundary"
答案 0 :(得分:4)
您可以使用not built-in function(并在do之后省略then关键字):
not
do
then
let inBoundary = false if not inBoundary then printfn "no it's not within the boundary"