si-funciona
    Preparing search index...

    Function trace

    • Output the value with label to the console and return the value to not interrupt the code - useful for inspecting a value mid-pipe/mid-chain without altering the result.

      Parameters

      • label: string

        Pass an identifying label of the value being output.

      • useClone: boolean = true

        Determines if the logged data should be a clone of the original to preserve its state at the time of logging (rather than a live reference that may show later mutations).

      Returns outputAndReturn

      It will be removed in the next major version: use a plain tap instead, e.g. value => { console.info(label, value); return value }.