रिसर्च सर्वे: Blockly के साथ अपने अनुभव के बारे में हमें बताएं
सर्वे शुरू करें
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
blockly > utils > object > deepMerge
utils.object.deepMerge() फ़ंक्शन
सोर्स ऑब्जेक्ट के सभी सदस्यों को टारगेट ऑब्जेक्ट के साथ डीप मर्ज करें.
ध्यान दें, यह मर्ज करने का कोई बेहतर एल्गोरिदम नहीं है. यह मुश्किल मामलों को हैंडल नहीं करता. इसका इस्तेमाल सावधानी से करें.
हस्ताक्षर:
export declare function deepMerge(target: any, source: any): any;
पैरामीटर
पैरामीटर |
टाइप |
ब्यौरा |
टारगेट |
कोई |
टारगेट. |
source |
कोई |
सोर्स. |
लौटाए जाने वाले प्रॉडक्ट:
कोई
नतीजास्वरूप मिला ऑब्जेक्ट.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-05-16 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-05-16 (UTC) को अपडेट किया गया."],[[["`deepMerge` combines two objects, merging the properties of the source object into the target object."],["Nested objects within the source and target are also merged recursively, ensuring a complete and thorough combination."],["The function returns the modified target object containing all properties from both the original target and source objects."],["`deepMerge` is useful for situations like configuration settings or data aggregation where deep merging of object properties is essential."]]],[]]