Task: JavaScript Object Type Checker for Parsed JSON
Task: JavaScript Object Type Checker for Parsed JSON: a task in Terminal-Lego-15k (Harbor dataset). You need to create a JavaScript utility that can determine whether a value from a parsed JSON structure is a string , a plain object (with key/value pairs), or an array . Based on the detected type…
The task
You need to create a JavaScript utility that can determine whether a value from a parsed JSON structure is a **string**, a **plain object** (with key/value pairs), or an **array**. Based on the detected type, you will perform different operations on the data.
Part of PrimeIntellect/Terminal-Lego-15k.