FixIt JavaScript API
    Preparing search index...

    Function isObjectLiteral

    • Check whether a string looks like a JavaScript object literal.

      Parameters

      • str: unknown

        The value to check.

      Returns str is string

      true if the string resembles {...}.