@alanscodelog/utils
    Preparing search index...

    Variable MULTISPLICE_ITEMConst

    MULTISPLICE_ITEM: {
        MATCH_INDEX: "MATCH_INDEX";
        MATCH_INDEX_LOOSE: "MATCH_INDEX_LOOSE";
        SINGLE: "SINGLE";
    } = ...

    Type declaration

    • ReadonlyMATCH_INDEX: "MATCH_INDEX"

      Items needs to be an array. Inserts each item of the array at the corresponding indexes passed. The length of the items array and the indexes passed must be the same. e.g. insert [1,2,3] at positions [0,1,2] in array [1,2,3] = [1, 1, 2, 2, 3, 3]

    • ReadonlyMATCH_INDEX_LOOSE: "MATCH_INDEX_LOOSE"

      Same as MATCH_INDEX but the length of the items array doesn't have to match. e.g. insert [1,2] at positions [0,1,2] in array [1,2,3] = [1, 1, 2, 2, 3]

    • ReadonlySINGLE: "SINGLE"

      Inserts the item/s as they are in the given positions. e.g. insert 0 at positions [0,1] in array [1,2,3] = [0, 1, 0, 2, 3]