* #### intersect the parsed Type, returning an introspectable Disjoint if the result is unsatisfiable * * @example * import { Type } from "arktype" * * // Type<{ foo: number; bar: string }> | Disjoint * const T = type({ foo: "number" }).intersect({ bar: "string" }) * const Bad
( def: type.validate<def, $> )
| 612 | * if (!(Bad instanceof Type)) console.log(Bad.summary) |
| 613 | */ |
| 614 | intersect< |
| 615 | const def, |
| 616 | r = instantiateType<inferIntersection<t, inferDefinition<def, $>>, $> |
| 617 | >( |
no outgoing calls
no test coverage detected