import { Any } from './Any.js'; import './Function.js'; import './Primitive.js'; /** * Matches anything that is not `undefined`. If a generic is provided, it will * exclude `undefined` from that type. * * @template U The type to exclude `undefined` from. * @returns A type that excludes `undefined`. * @example NotUndefined // number */ type NotUndefined = U extends undefined ? never : U; export type { NotUndefined };