/** * Represents a callback to determine whether the specified object in the sequence meets certain criteria. * * @returns a truthy value indicates the item meets the criteria; * otherwise, the item does not meet the criteria. */ export type IndexedSequenceElementPredicate = (item: T, index: number) => unknown; export type SequenceElementPredicate = (item: T) => unknown; /** * Represents a callback to determine whether the specified object in the sequence meets certain criteria. * This callback also shrinks the type of the input elements by type assertion. * * @returns a truthy value indicates the item meets the criteria; * otherwise, the item does not meet the criteria. */ export type SequenceElementTypeAssertionPredicate = (item: T, index: number) => item is TReturn; /** * Represents a callback that projects (or maps) the ordered element in a sequence * one by one into another sequence of the same length. */ export type IndexedSequenceElementSelector = (item: T, index: number) => TResult; export type IndexedSequenceElementCallback = (item: T, index: number) => void; /** * Represents a callback that projects (or maps) the unordered element in a sequence * one by one into another sequence of the same length. */ export type SequenceElementSelector = (item: T) => TResult; //# sourceMappingURL=typing.d.ts.map