Webigail
    Preparing search index...
    • A helper method that converts an object to a BodyInit.

      If obj is not a BodyInit supported object, then it will simply be converted to JSON.

      Parameters

      • obj: any

        The object to convert.

      Returns BodyInit

      Obj as a body init serialization. If obj is not compatible with a BodyInit shape, then it is converted to JSON.