Checks if a value is the encrypted sentinel, indicating a protected value that was not disclosed to the client.
The value to check
True if the value equals the encrypted sentinel, false otherwise
import { IsEncryptedSentinel, ENCRYPTED_SENTINEL } from '@memberjunction/global';console.log(IsEncryptedSentinel('[!ENCRYPTED$]')); // trueconsole.log(IsEncryptedSentinel('somevalue')); // falseconsole.log(IsEncryptedSentinel(null)); // false Copy
import { IsEncryptedSentinel, ENCRYPTED_SENTINEL } from '@memberjunction/global';console.log(IsEncryptedSentinel('[!ENCRYPTED$]')); // trueconsole.log(IsEncryptedSentinel('somevalue')); // falseconsole.log(IsEncryptedSentinel(null)); // false
Checks if a value is the encrypted sentinel, indicating a protected value that was not disclosed to the client.