export TryType
add tests for TryTypeAndValue