2024-10-15 23:05:53 +03:00

7 lines
133 B
TypeScript

import type {IntoInterator} from './types';
export default function take<T>(
iterator: IntoInterator<T>,
n: number
): Array<T>;