]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commit
refactor: consolidate object-check utilities to eliminate duplication
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 11 May 2026 19:20:30 +0000 (21:20 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 11 May 2026 19:20:30 +0000 (21:20 +0200)
commit2990944535b2e13826897657d526da65b9d17ec4
tree51472b6d10eaba6e0367116a8d1a2c211484fced
parentf2fe22cada0c10ff63eb5d0ee6ca8f79a74de430
refactor: consolidate object-check utilities to eliminate duplication

Replace type() + isObject with a single isPlainObject helper.
Make isJsonObject and assertIsJsonObject delegate through it
instead of duplicating the check logic independently.
src/utils/Utils.ts