getStringOrNull

Retrieves the encapsulated data from the result as a String, or returns null if the data is not a String or if the result is a failure.

Return

The encapsulated data as a String, or null if the data is not a String or the result is a failure.