Added contains function in YukiHookModulePrefs

This commit is contained in:
2023-04-09 00:45:56 +08:00
parent a0714eb996
commit 914b059d9c
3 changed files with 44 additions and 1 deletions

View File

@@ -236,6 +236,22 @@ fun getFloat(key: String, value: Float): Float
> 获取 `Float` 键值。
## contains <span class="symbol">- method</span>
```kotlin:no-line-numbers
fun contains(key: String): Boolean
```
**Change Records**
`v1.1.9` `added`
**Function Illustrate**
> 判断当前是否包含 `key` 键值的数据。
智能识别对应环境读取键值数据。
## all <span class="symbol">- method</span>
```kotlin:no-line-numbers

View File

@@ -228,6 +228,22 @@ fun getFloat(key: String, value: Float): Float
> 获取 `Float` 键值。
## contains <span class="symbol">- method</span>
```kotlin:no-line-numbers
fun contains(key: String): Boolean
```
**变更记录**
`v1.1.9` `新增`
**功能描述**
> 判断当前是否包含 `key` 键值的数据。
智能识别对应环境读取键值数据。
## all <span class="symbol">- method</span>
```kotlin:no-line-numbers