Share via


TableValue.First(Boolean) Method

Definition

Lookup the first record, or return blank if the table is empty.

public virtual Microsoft.PowerFx.Types.DValue<Microsoft.PowerFx.Types.RecordValue> First(bool mutationCopy = false);
abstract member First : bool -> Microsoft.PowerFx.Types.DValue<Microsoft.PowerFx.Types.RecordValue>
override this.First : bool -> Microsoft.PowerFx.Types.DValue<Microsoft.PowerFx.Types.RecordValue>
Public Overridable Function First (Optional mutationCopy As Boolean = false) As DValue(Of RecordValue)

Parameters

mutationCopy
Boolean

copies the element, and the table entry pointing to it, when in a mutation context.

Returns

The record or blank.

Applies to