Intersect
type Intersect<'A, 'B> =
| Intersect__ of obj| Assembly | Xantham.Fable.Core |
| Attributes | [<Erase>] |
A TypeScript intersection (A & B) with an operand F# cannot inherit: a type parameter, as in P & { children?: Element }. Erased: the runtime value is the one object both operands describe.
Left and Right read the value as either operand without copying or converting it. Three or more operands nest to the right: Intersect<'P, Intersect<'Q, Members>>.
Intersect.unsafeCast reads a value as the intersection without checking it; Intersect.assign copies the second operand's own properties onto the first and returns the first. Both preserve the first operand's identity and prototype.