- Preparing search index...
 
- The search index is not available
 
Documentation 
 
- parseJson<T>(input: string, isT: ((t: unknown) => t is T)): T | undefined
 
- 
Parameters
- 
input: string
 
- 
isT: ((t: unknown) => t is T)
- 
- (t: unknown): t is T
 
- 
Returns t is T
 
 
 
 
Returns T | undefined
 
 
 
 
Function that does a JSON.parse() combined with a type check to make sure the parsed object is as expected