Table of Contents

FemtoOrDefault Method

Definition

Namespace
Codebelt.Unitify
Assemblies
Codebelt.Unitify.dll
Source
src/Codebelt.Unitify/PrefixTableExtensions.cs

FemtoOrDefault(PrefixTable)

Returns the unit with the Femto prefix or the default value if not found.

public static IPrefixUnit FemtoOrDefault(this PrefixTable prefixes)

Parameters

prefixes PrefixTable

The table of multiple units.

Returns

IPrefixUnit

The unit with the Femto prefix or the default value.