UNPKG

rambdax

Version:

Extended version of Rambda - a lightweight, faster alternative to Ramda

16 lines (14 loc) 284 B
import {Exclude} from './Exclude' import {Last} from './Last' import {Union} from './Union' /** Remove an item out of `U` (⚠️ it might not preserve order) @param U to remove from @returns [[Union]] @example ```ts ``` */ export type Pop<U extends Union> = Exclude<U, Last<U>>