@karmaniverous/string-utilities
    Preparing search index...

    Function sn2e

    • Some Non-stringifiable to Empty String: returns empty string when any expression has no toString property.

      Parameters

      • strings: TemplateStringsArray

        The string literals.

      • ...exp: unknown[]

        The expressions.

      Returns unknown

      The output string.

      const value = sn2e`string: ${'foo'} number: ${42} boolean: ${true} null: ${null} undefined: ${undefined}`;
      // value === ''