msg:context_delete
Last updated March 2020
Name
msg:context_delete — Delete a context variable
Synopsis
msg:context_delete(type, key);
type: numeric key: string
Description
Delete a context variable. Legal values for type
are:
-
msys.core.ECMESS_CTX_MESS
-
msys.core.ECMESS_CTX_CONN
For a code example see “msys.gcm.gcm_classify_error example”. Because this function is in the msys.core
namespace, an explicit require('msys.core')
is not necessary.
This function returns 1
if the key is deleted and 0
if the key does not exist.
See Also
Was this page helpful?