1import { throwIf } from '../throwErrorF/throwIfF.mts'23export function assertNonEmptyString(value: string | undefined | null, debugCtx?: Record<string, unknown>): asserts value is string {4 throwIf(() => !value, debugCtx)5}6