NullableOperators.( ?<=?)<'T> 函数 (F#)

>= 运算符可以为 null 值出现在左侧和右侧的位置。

Namespace/Module Path:Microsoft.FSharp.Linq.NullableOperators

程序集:FSharp.Core(在 FSharp.Core.dll 中)

// Signature:
( ?>=? ) : Nullable<'T> -> Nullable<'T> -> bool when 'T : (IComparable) and 'T : (new : unit ->  'T) and 'T : struct and 'T :> ValueType

// Usage:
nullableValue1 ?>=? nullableValue2

参数

  • nullableValue1
    类型:Nullable<T><'T>

    第一个输入值,可以为 null 的值。

  • nullableValue2
    类型:“T

    第二个输入值,可以为 null 的值。

返回值

true,如果第一个值大于或等于第二个。

备注

如果值之一为空,则结果是 false。

平台

Windows 8,Windows 7,Windows server 2012中,Windows server 2008 R2

版本信息

F#核心库版本

支持:4.0,可移植

请参见

参考

Linq.NullableOperators 模块 (F#)

Microsoft.FSharp.Linq 命名空间 (F#)