Skip to content

add

Adds two numbers.

basic usage

argument | description

  • one: number the first number in an addition.
  • two: number the second number in an addition.

reuturns

  • return the totals.
typescript
import { add } from 'func-dash'
add(1, 2) // 3
add('1', '2', '3') // 123