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

Package detail

math_example_july29

july2915BSD0.0.0

An example of creating a package

[math, example, addition, subtraction, multiplication, division, fibonacci]

readme

math_example package

Key Terms

The following functions are available in the math_example package.

  • addition Adds two numbers and returns the result.
  • subtraction Subtracts the second number from the first and returns the result.
  • multiplication Multiplies two numbers and returns the result.
  • division Divides the first number by the second number and returns the result.
  • fibonacci Applies the fibonacci sequence count times and returns the result.