Skip to main content
Version: v2

hmFS.SysProSetBool(key, val)

Store temporary boolean value, system reboot will clear it.

Type​

(key: string, val: boolean) => result

Parameters​

ParametersDescriptionRequiredTypeDefault
keykey stringyesstring-
valStored boolean valueyesboolean-

result​

DescriptionType
The result of the operation, 0 means successnumber

Usage​

hmFS.SysProSetBool('test_key', true)