clik-engine API
    Preparing search index...

    Function BringToTop

    • Moves the given element to the top of the array. The array is modified in-place.

      Parameters

      • array: any[]

        The array.

      • item: any

        The element to move.

      Returns any