Logical negation operator in F#? (!-equivalent)

前端 未结 3 556
深忆病人
深忆病人 2021-01-07 16:32

What is the equivalent to the C# \"!\" operator in F#?

相关标签:
3条回答
  • 2021-01-07 16:34

    you can also use "<>"

    0 讨论(0)
  • 2021-01-07 16:42

    According to "Foundations of F#", page 61:

    F# uses a function called not for Boolean "not" operations.

    0 讨论(0)
  • 2021-01-07 16:50

    See Core.Operators Module (F#) for more.

    0 讨论(0)
提交回复
热议问题