pond-ts API Reference (core)
    Preparing search index...

    Class Time

    A point-in-time event key represented as a single millisecond timestamp. Example: new Time(Date.now()).

    Implements

    Index

    Constructors

    Properties

    kind: "time" = 'time'
    timestamp: number

    Methods

    • Example: time.timestampMs(). Returns the key timestamp in milliseconds since epoch.

      Returns number

    • Example: Number(time). Returns the primitive millisecond timestamp for numeric coercion.

      Returns number