operator [] method

MapFunction? operator [](
  1. Type type
)

Gets the mapping function for a specific type

Implementation

MapFunction? operator [](Type type) {
  return map[type];
}