A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://fsharp.github.io/fsharp-core-docs/reference/fsharp-core-defaultvalueattribute.html below:

DefaultValueAttribute (FSharp.Core) | FSharp.Core

DefaultValueAttribute Type
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

this.Check

Full Usage:

this.Check

Returns: bool


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

Returns: bool

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4