<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@easyops-cn/brick-next-pipes](./brick-next-pipes.md) &gt; [get](./brick-next-pipes.get.md)

## get() function

获取一个对象指定属性（路径）的值。

**Signature:**

```typescript
export declare function get(object: Record<string, unknown>, path: string | string[], defaultValue: unknown): unknown;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  object | Record&lt;string, unknown&gt; | 对象。 |
|  path | string \| string\[\] | 属性（路径）。 |
|  defaultValue | unknown | 当获取的值为 <code>undefined</code> 时返回的默认值。 |

**Returns:**

unknown

结果。

## Remarks

透传调用 [\_.get](https://lodash.com/docs/#get)<!-- -->。

 Object

