I have the following function:
let hasColumnValue<'columnType> columnName (value: 'columnType) (row: KeyValuePair<int, ObjectSeries<string>>) =
let columnValue =
Series.get columnName row.Value :?> 'columnType
match columnValue with
| value -> true
| _ -> false
The default pattern matching is flagged as "This rule will never be matched"
=> I don't understand why
Thanks in advance