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$]')); // true
console.log(IsEncryptedSentinel('somevalue')); // false
console.log(IsEncryptedSentinel(null)); // false
Checks if a value is the encrypted sentinel, indicating a protected value that was not disclosed to the client.