storage
To set key and value.
Inputβ
To set key and value.
key: string;
value: any;
To access key
key: string;
Returnβ
value: string;
Exampleβ
CA.storage('string', 'to the moon π')
val = CA.storage('string') # to the moon π
CA.storage('int', 131441)
val = CA.storage('int') # 131441
CA.storage('none', None)
val = CA.storage('none') # None