IgnoreNull(bool) Method
Ignores null values and does not set a metadata item for them.
Namespace
Statiq.Core
Containing Type
SetMetadata

Syntax

public SetMetadata IgnoreNull(bool ignoreNull = true)

Remarks

The default behavior is not to ignore null values and set them in the metadata regardless.

Parameters

Name Type Description
ignoreNull bool true to ignore null values.

Return Value

Type Description
SetMetadata The current module instance.