[@medialib/medialib-manga-source-mangadex](../README.md) / [Exports](../modules.md) / objectUtils

# Namespace: objectUtils

## Table of contents

### Functions

- [getValueFromKeysWithPreferencesOrFirst](objectUtils.md#getvaluefromkeyswithpreferencesorfirst)

## Functions

### getValueFromKeysWithPreferencesOrFirst

▸ **getValueFromKeysWithPreferencesOrFirst**(`object`, `preferences`): `any`

Return the value of the first preference key found in the object.

#### Parameters

| Name | Type |
| :------ | :------ |
| `object` | `any` |
| `preferences` | `string`[] |

#### Returns

`any`

#### Defined in

node_modules/@medialib/medialib/dist/utils/objectUtils.d.ts:8
