Member predicate TypeCase::getTypeAccess

Gets the type access of this case, for example access to string or access to int in

switch(p) {
  case int i:
  case string s when s.Length>0:
    break;
  ...
}
TypeAccess getTypeAccess()