// #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 ifNonEmpty(value) {
    return ifDefined(value === '' ? undefined : value ?? undefined);
}
//# sourceMappingURL=IfNonEmpty.js.map