API/readString
readString
src/utils/read-path.tsfunction
readString()
Section titled “readString()”readString(response: RawResponse, path: string): string | undefinedRead a path expected to hold a string.
| Parameter | Type | Description |
|---|---|---|
response |
RawResponse |
The raw response body |
path |
string |
Dot-separated path |
Returns — The string at that path, or undefined
