@bytebury/sauce - v2.2.0
    Preparing search index...

    Function seconds

    • Returns the number of seconds as milliseconds.

      Parameters

      • seconds: number

      Returns number

      seconds(0.5); // 500
      seconds(1); // 1_000
      setTimeout(() => {}, seconds(3));