Library API
    Preparing search index...

    Function isRawJSON

    • Asserts whether a value is a raw JSON object produced by rawJSON or JSON.rawJSON.

      Parameters

      • obj: unknown

        The value to inspect

      Returns boolean

      True if the value is a raw JSON object

      isRawJSON(rawJSON('123')); // true