Documentation / @ripl/core / createNumericIncludesMethod
Function: createNumericIncludesMethod() ​
createNumericIncludesMethod(
domain): (value) =>boolean
Defined in: packages/core/src/scales/_base/index.ts:157
Creates an includes predicate that tests whether a value falls within the numeric domain.
Parameters ​
| Parameter | Type |
|---|---|
domain | number[] |
Returns ​
(value) => boolean