• Function that does a JSON.parse() combined with a type check to make sure the parsed object is as expected

    Type Parameters

    • T

    Parameters

    • input: string
    • isT: ((t: unknown) => t is T)
        • (t: unknown): t is T
        • Parameters

          • t: unknown

          Returns t is T

    Returns T | undefined

Generated using TypeDoc