@mindfulness/utils
    Preparing search index...

    Function ensureArray

    • Take a value and check whether it is an array. If it is and array return it unmodified, else return it as an array.

      Type Parameters

      • T

      Parameters

      • input: T | T[]

      Returns T[]