Function toArrayWithValue

  • Type Parameters

    • T

    Parameters

    • value: T
    • Optionalarray: T | T[]

    Returns T[]