clik-engine API
    Preparing search index...

    Function Flatten

    • Takes an array and flattens it, returning a shallow-copy flattened array.

      Parameters

      • array: any[]

        The array to flatten.

      • Optionaloutput: any[]

        An array to hold the results in.

      Returns any[]