import { Any } from './Any.js'; import { I as IsUnknown } from './chunks/DZEfmVOc.js'; import './Function.js'; import './Primitive.js'; import './BooleanAnd.js'; import './BooleanOr.js'; import './MaybeReadonly.js'; /** * Matches anything that is not a function. If a generic is provided, it will * exclude functions from that type. * * @template T The type to exclude functions from. * @returns A type that excludes functions. * @example NotFunction & Function // never */ type NotFunction = IsUnknown extends true ? Any & { apply?: never; } : T extends (...args: any[]) => any ? never : T; export type { NotFunction };