The return type that is hinted by duplicates suggests that the callable should return bool, but the callable is passed directly to map, which is typehinted as returning a TMapValue.
Additionally, the documentation online shows no example use of calling duplicates with a callable, which will be my next stop.
The return type that is hinted by
duplicates
suggests that the callable should returnbool
, but the callable is passed directly tomap
, which is typehinted as returning aTMapValue
.Additionally, the documentation online shows no example use of calling
duplicates
with a callable, which will be my next stop.