UNPKG

react-ocean-forms

Version:
12 lines (11 loc) 392 B
/** * Copyright (c) 2018-present, Umweltbundesamt GmbH * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** * Returns an array with the parameter as its only element if * the parameter is not an array. Otherwise it returns an array */ export declare const toArray: <T>(param: T | T[]) => T[];