Skip to content

li

Unofficial

Minified helper to copy properties from source to target object.

Signature:

function li(target: object, source: object): object

Parameters:

ParameterTypeDescription
targetobjectThe target object to copy properties to.
sourceobjectThe source object to copy properties from.

Returns: object — The target object with copied properties.