Yevai NPM Packages
    Preparing search index...

    Function print

    • Formats a message, prints it to the console with a prefix, and returns it.

      Parameters

      • logString: string

        The text content to be formatted and logged.

      Returns string

      The final formatted log string.

      import { print } from "@yai/example";

      const message = print("hello world");
      // Logs: "logString hello world"
      // message: "logString hello world"