ExSwift has an Array extension:

```
    /**
    Converts the array to a dictionary with keys and values supplied via the transform function.

    :param: transform
    :returns: A dictionary
*/
func toDictionary <K, V> (transform: (Element) -> (key: K, value: V)?) -> [K: V] {
    var result: [K: V] = [:]
    for item in self {
        if let entry = transform(item) {
            result[entry.key] = entry.value
        }
    }

    return result
}

```

The ExSwift Wiki however only shows an example for the other toDictionary() method signature. I'm not yet very familiar with the way how these method signatures work. So I was wondering whether somebody can show me an example of how to use the above method call?