Intersect
module Intersect
| |
|---|
| Assembly | Xantham.Fable.Core |
Constructing an intersection with an operand F# cannot inherit (Intersect<'A, 'B>).
Functions and values
assign<'A, 'B> (target: 'A) (members: 'B) : Intersect<'A,'B>
Copies the second operand's own enumerable properties onto the first, as Object.assign, and returns the first. The first operand is mutated in place and keeps its identity and prototype.
left<'A, 'B> (value: Intersect<'A,'B>) : 'A
The value read as its first operand.
right<'A, 'B> (value: Intersect<'A,'B>) : 'B
The value read as its second operand.
unsafeCast<'A, 'B> (value: 'A) : Intersect<'A,'B>
Reads a value as the intersection, unchecked. Erased: the result is the value itself, so its identity and prototype are preserved. The caller guarantees the value carries the second operand's members.