API Browser

Method

OrInsert

func OrInsert(value: V) -> V

Declaring type: MapEntry<K, V>
Namespace: System.Collections.Generic
Assembly: Raven.Core.dll
Source file: MapEntry.rvn

Inserts the supplied value only when the key is absent. The eagerly evaluated fallback value. The existing or inserted value, not a reference to its storage slot.

Parameters

Name Type Description
value V

Return value

V