Skip to content

recursiveCombination

recursiveCombination(objA, objB): [boolean, any]

Recursively combines two objects or arrays and returns the result. If the combination is successful, it returns a tuple with a boolean indicating success and the combined object/array. If the combination fails, it returns a tuple with a boolean indicating failure and the second object/array.

Parameters

objA: any

The first object/array to combine.

objB: any

The second object/array to combine.

Returns

[boolean, any]

A tuple with a boolean indicating success/failure and the combined object/array.

Source

ecmascript/src/utils.ts:269


Generated using typedoc-plugin-markdown and TypeDoc