Function asArray

Returns x if x is an array, otherwise returns [] (empty array).