kumulant

RunLengthResult

@Serializable
@SerialName(value = "RunLengthResult")
data class RunLengthResult(val current: Long, val longest: Long) : Result(source)

Current and longest consecutive truthy-run lengths.

Constructors

Link copied to clipboard
constructor(current: Long, longest: Long)

Properties

Link copied to clipboard

Length of the current run; reset to zero when the input was last falsy.

Link copied to clipboard

Longest run observed so far.

RunLengthResult

constructor(current: Long, longest: Long)(source)

current

Length of the current run; reset to zero when the input was last falsy.

longest

Longest run observed so far.