Share via


TableValue.Last(Boolean) Method

Definition

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

public virtual Microsoft.PowerFx.Types.DValue<Microsoft.PowerFx.Types.RecordValue> Last(bool mutationCopy = false);
abstract member Last : bool -> Microsoft.PowerFx.Types.DValue<Microsoft.PowerFx.Types.RecordValue>
override this.Last : bool -> Microsoft.PowerFx.Types.DValue<Microsoft.PowerFx.Types.RecordValue>
Public Overridable Function Last (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