DefaultValueAttribute (FSharp.Core)

Namespace: FSharp.Core
Assembly: FSharp.Core.dll
Base Type: Attribute
This is an attribute type definition

Adding this attribute to a field declaration means that the field is not initialized. During type checking a constraint is asserted that the field type supports 'null'. If the 'check' value is false then the constraint is not asserted.

Instance members

Instance member Description

this.Check

Full Usage: this.Check

Returns: bool

Indicates if a constraint is asserted that the field type supports 'null'

Returns: bool