// Copyright 2021 Signal Messenger, LLC // SPDX-License-Identifier: AGPL-3.0-only export function isNotNil(value: T | null | undefined): value is T { if (value === null || value === undefined) { return false; } return true; }