Patterns.Coerce Active Pattern (F#)
Recognizes expressions that represent coercions from one type to another.
Namespace/Module Path: Microsoft.FSharp.Quotations.Patterns
Assembly: FSharp.Core (in FSharp.Core.dll)
The formal return type is (Expr * Type) option. The option type indicates whether the input results in a match. In a pattern matching expression, this pattern decomposes the input into the underlying expression and a Type object that represents the type to convert to.