melonjs
    Preparing search index...

    Function remove

    • Remove the specified object from the given Array

      Type Parameters

      • T

      Parameters

      • arr: T[]

        array from which to remove an object

      • obj: T

        to be removed

      Returns T[]

      the modified Array let arr = [ "foo", "bar", "baz" ]; // remove "foo" from the array me.utils.array.remove(arr, "foo");