Skip to content

MetadataEditor.reorderKey method

MetadataEditor › reorderKey

Unofficial

Reorder the entry to specified index position and save.

Signature:

reorderKey(entry: PropertyEntryData<unknown>, index: number): unknown

Parameters:

ParameterTypeDescription
entryPropertyEntryData<unknown>Property entry to reorder.
indexnumberTarget index position.

Returns: unknownThe result of the reorder operation.