// ets_tracing: off import type * as C from "./core.js" import * as Map from "./map.js" /** * Replaces this sink's result with the provided value. */ export function as_( self: C.Sink, z: Z1 ): C.Sink { return Map.map_(self, (_) => z) } /** * Replaces this sink's result with the provided value. * * @ets_data_first as_ */ export function as(z: Z1) { return (self: C.Sink) => as_(self, z) }