Function: collectOwnPropertyValuesSafely()
collectOwnPropertyValuesSafely(
value:object): readonlyunknown[]
Defined in: shared/utils/objectIntrospection.ts:13
Object inspection helpers used by safe JSON utilities and logging.
Parametersโ
valueโ
object
Returnsโ
readonly unknown[]
Remarksโ
These helpers intentionally use Reflect.ownKeys + Reflect.get wrapped in
try/catch so they can safely inspect objects with throwing accessors.
Keeping this logic centralized avoids duplicated implementations across the Electron and shared layers.