matrix-js-sdk
    Preparing search index...

    Function isValidStickyDuration

    • Experimental

      Check whether a value is a valid sticky duration, i.e. a strictly positive integer. Values above MAX_STICKY_DURATION_MS are permitted. Callers should clamp them separately.

      Parameters

      • value: unknown

        The sticky duration as set by the sender in milliseconds.

        Part of MSC4354.

      Returns value is number