def TryGetTypedValue(self, name: str) -> Any | None:
this: DynamicObj = self
match_value: Any | None = this.TryGetValue(name)
if match_value is not None:
o: Any = value_1(match_value)
return some(o) if False else None
else:
return None
Always returns None, while TryGetValue returns the correct value
Always returns
None, whileTryGetValuereturns the correct value