turbodombuilder - v0.9.5
    Preparing search index...

    Function createYArray

    • createYArray

      Type Parameters

      • DataType = object

        The type of the array's content.

      Parameters

      • data: DataType[]

        The array of data to populate the YArray with.

      Returns YArray

      A new YArray instance.

      Creates a YArray and populates it with elements from a plain array.