The NotEqualsComparison interface in @minecraft/server.
Interface in @minecraft/server
import type { NotEqualsComparison } from '@minecraft/server';Properties
Section titled “Properties”notEquals
Section titled “notEquals”notEquals: boolean | number | string;