import { isIterable } from "@thi.ng/checks/is-iterable" ; import type { Transducer } from "./api.js" ; import { keySelector } from "./key-selector.js" ; import { iterator1 } from "./iterator.js" ; import { map } from "./map.js" ; remarks For single key extraction  {@link (pluck:1)} is a faster alternative.
 *
 *  example param keys param src export function selectKeys < T > ( keys ) ; export function selectKeys < T > ( keys , src ) ; export function selectKeys < T > ( keys , src ? ) { return isIterable ( src ) ? iterator1 ( selectKeys ( keys ) , src ) : map ( keySelector ( keys ) ) ; }