matcher-op: add matcher for $type.