Skip to main content

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