runtime_safe_key
host callCapy
function runtime_safe_key(key : string, label : string = "runtime key") string
Description
The function trims key. It reports an error for an empty key.
Parameters
key : runtime key
label : name for an empty-key error
Return Values
A stable SHA-1 key.
Example
Capy
print(runtime_safe_key("docs task"), "\n")