• Converts the supplied value into an array if it is not already one.

    Type Parameters

    • T

    Parameters

    • x: T | T[]

      Value to convert.

    Returns T[]