The NotIncluded type is typically used in conditional types to exclude specific
branches of the type structure. When a condition matches, NotIncluded is applied
to those properties that should be omitted from the final type structure.
type MyType = IfEquals<'foo', 'bar', string, NotIncluded>; // Result: NotIncluded
In the context of the Prune type, NotIncluded helps in filtering out properties
from deeply nested structures where certain conditions do not hold.
NotIncludedis a utility type that represents a value that should not be included in the final type. It is primarily used within thePrunetype to exclude certain properties from the resulting object type.