@kosko/common-utilsFunctionstoArraypublictoArray CallabletoArray<T>(input: T | T[]): T[]Transforms input into an array, or leave it as-is if input is already an array.Type parametersTParametersinput: T | T[]Returns T[]
Transforms
inputinto an array, or leave it as-is ifinputis already an array.