UNPKG

foremark

Version:

A technology for writing semi-plain text documents that extends upon the concept of Markdeep.

7 lines (6 loc) 254 B
/** * Searches and removes a given element from an array, returning the * result as a new array. Returns the original array if the element wasn't * found. */ export declare function arrayRemoveElement<T>(a: ReadonlyArray<T>, x: T): ReadonlyArray<T>;