Skip to content

intBetweenPoint

intBetweenPoint(pt, includeMax): number

Defined in: utils/random.ts:59

Find an int between the x,y of a Point

Point

The point containing min (x) and max (y) values

boolean = false

Whether the max value should be inclusive (default: false)

number

number