* Returns used keys. * @param {DestructuringAssignmentProperties | undefined} properties properties * @returns {Set<string> | undefined} used keys
(properties)
| 139 | * @returns {Set<string> | undefined} used keys |
| 140 | */ |
| 141 | function getObjKeys(properties) { |
| 142 | if (!properties) return; |
| 143 | return new Set([...properties].map((p) => p.id)); |
| 144 | } |
| 145 | |
| 146 | /** |
| 147 | * Whether a value is a nested definition (plain object/array) to recurse into. |
no outgoing calls
no test coverage detected