gradum-kit - v0.1.0
    Preparing search index...

    Function removeFromYArray

    • Function

      removeFromYArray

      Parameters

      • entry: unknown

        The entry to remove.

      • parentYArray: YArray

        The array to remove it from.

      Returns boolean

      true if an entry was removed, false if it was not in the array.

      Remove the first occurrence of an entry from a YArray. Entries are matched by identity, so pass the same object the array holds rather than an equal copy.