# utility-object

### 说明

汇集有关`对象`的工具方法

### 源码

{% embed url="<https://github.com/ddzy/ts-utility-plugins/tree/master/src/ddzy/utility/object>" %}

### 目录

| Name          | Description                                                                                               | Source                                                                                             | Docs                                                                   |
| ------------- | --------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- |
| isPlainObject | 判断是否普通的`键值对`对象                                                                                            | [源码](https://github.com/ddzy/ts-utility-plugins/tree/master/src/ddzy/utility/object/isPlainObject) | [文档](/ts-utility-plugins-docs/utility/utility-object/isplainobject.md) |
| get           | 根据`object`对象的`path`路径获取值                                                                                  | [源码](https://github.com/ddzy/ts-utility-plugins/tree/master/src/ddzy/utility/object/get)           | [文档](/ts-utility-plugins-docs/utility/utility-object/get.md)           |
| forIn         | 使用 `iteratee` 遍历对象的自身和继承的可枚举属性. `iteratee` 会传入3个参数: (value, key, object). 如果返回 `false`, iteratee 会提前退出遍历. | [源码](https://github.com/ddzy/ts-utility-plugins/tree/master/src/ddzy/utility/object/forIn)         | [文档](/ts-utility-plugins-docs/utility/utility-object/forin.md)         |
| forOwn        | 遍历对象自身的可枚举属性, 不包括继承而来的属性                                                                                  | [源码](https://github.com/ddzy/ts-utility-plugins/tree/master/src/ddzy/utility/object/forOwn)        | [文档](/ts-utility-plugins-docs/utility/utility-object/forown.md)        |
| create        | 模拟实现 `Object.create()`                                                                                    | [源码](https://github.com/ddzy/ts-utility-plugins/tree/master/src/ddzy/utility/object/create)        | [文档](/ts-utility-plugins-docs/utility/utility-object/create.md)        |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ddzy.gitbook.io/ts-utility-plugins-docs/utility/utility-object.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
