// #region Imports
import { ifDefined } from './Directives';
// #endregion
/**
 * A variant of `if-defined` which stops rendering if the given value is `null` in addition to `undefined`.
 *
 * @public
 * @param The value.
 */
export function ifNonZero(value) {
    return ifDefined(value === 0 ? undefined : value ?? undefined);
}
//# sourceMappingURL=IfNonZero.js.map