Skip to content

Function: data_set() ​

data_set<T>(target, key, value): T

Defined in: src/runtime.ts:99

Set an item in an array or object using dot notation

Type Parameters ​

T ​

T

Parameters ​

target ​

T

The object or array to modify

key ​

string | string[]

The dot-notated key or an array of keys

value ​

unknown

The value to set

Returns ​

T

The modified target

Documentation of 1.0.13 , built from cf61d3b on 1.0.13 by pipeline #2985011498 on 2026-10-21.