diff --git a/docs/general/assert.md b/docs/general/assert.md index 425c2e9..09e9073 100644 --- a/docs/general/assert.md +++ b/docs/general/assert.md @@ -13,7 +13,7 @@ assert(count < 100, 'error message') ### Arguments -| Arg | Type | Defaults | -| ----------- | :------: | -------: | -| `condition` | `any` | | -| `message` | `string` | | +| Arg | Type | Defaults | +| ----------- | :-------: | -------: | +| `condition` | `boolean` | | +| `message` | `string` | | diff --git a/docs/zh/general/assert.md b/docs/zh/general/assert.md index 11e7c3e..0b24272 100644 --- a/docs/zh/general/assert.md +++ b/docs/zh/general/assert.md @@ -13,7 +13,7 @@ assert(count < 100, 'error message') ### 参数 -| 参数 | 类型 | 默认值 | -| ----------- | :------: | -----: | -| `condition` | `any` | | -| `message` | `string` | | +| 参数 | 类型 | 默认值 | +| ----------- | :-------: | -----: | +| `condition` | `boolean` | | +| `message` | `string` | |