Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

skipped-periodic-values

jmeas174.1kMIT1.0.1TypeScript support: definitely-typed

Given a point and a distance, determine how many periodic values were skipped.

mathematics, math, period, periodic, contained, solution, function

readme

skipped-periodic-values.js

Travis build status Code Climate Test Coverage Dependency Status devDependency Status

Given a distance that ignores a periodic value, determine how many periodic values were skipped.

Terminology

The members of a periodic function's output are the "values." A single member is a "value."

The distance that the function repeats itself along is the "period."

API

skippedPeriodicValues(start, distance, value, period)

Find the number of values skipped across "distance."