Function toArray

  • Wrap a value in an array, if it's not always an array. Useful for allowing function signatures to accept both single values and arrays.

    Parameters

    • value: any

    Returns any[]

Generated using TypeDoc