Skip to content

Instantly share code, notes, and snippets.

View brajendraSwain's full-sized avatar

Brajendra Swain brajendraSwain

  • Pramati Technology Limited
  • Hyderabad, India
View GitHub Profile
```
export * from 'd3-brush';
export * from 'd3-path';
export * from 'd3-shape'; // useful for symbol
export * from 'd3-scale';
export * from 'd3-selection';
export * from 'd3-axis';
export * from 'd3-array';
export * from 'd3-chord';

###>isFinite

> Number.isFinite('123')
false
> isFinite('123')
true

###>isNaN

  • Is number the value NaN? Making this check via === is hacky. NaN is the only value that is not equal to itself: