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