Open Bug 1642298 Opened 4 years ago

Introduce a shared `isObject` helper method to merge all existing copies of it from DevTools codebase

Categories

(DevTools :: General, task)

task

Tracking

(Not tracked)

People

(Reporter: ochameau, Unassigned)

References

(Blocks 1 open bug)

Details

Bug 1620243 introduced yet another copy of isObject helper method.
It might be worth starting to share a single copy of this method:
https://searchfox.org/mozilla-central/search?q=function+isObject%28value%29&path=&case=false&regexp=false

It looks like it would need to be in devtools/shared, as it is used mostly in actors, but also a bit in the frontend.

You need to log in before you can comment on or make changes to this bug.