JsonUtils.asArray Function

Get a value as an array.

asArray(json: any): any

Parameter Type Description
json any the input JSON object

Returns - any

the input JSON object if it is an array, otherwise undefined

Defined in

Last Updated: 15 June, 2021