Skip to main content

How do I get total number of columns received in RestAPI response?

Example Response From RestAPI

This Is How My Current Parameter Input Looks Like:

value={data?.body?.marketState}

I want to return no. of columns in "marketState".

eg.

4
Via Active questions tagged javascript - Stack Overflow https://ift.tt/7ZWEbgv

Comments