Skip to main content
版本:v3

hmFS.SysProGetBool(key)

获取临时存储的布尔值,系统重启将清除

类型

(key: string) => result

参数

key

说明必填类型默认值
键字符串string-

result

说明类型
存储的布尔值boolean

用法

const result = hmFS.SysProGetBool('test_key')
console.log(result)