From 40f92d6e843d1e1e7b20b24d5d9e25df271c6220 Mon Sep 17 00:00:00 2001 From: Andros Fenollosa Date: Sat, 19 Feb 2022 17:37:25 +0100 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 266ce13..3b31792 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,9 @@ Simple functional functions common to any development in Typescript or JavaScrip ## Example ```javascript -import {getRandom, range} from 'fnTools.js'; +import {random, range} from 'fnTools.js'; -getRandom(0, 6); +random(0, 6); // 2 range(4); @@ -27,7 +27,7 @@ npm install micro-fp-tools - **inc**: Increase the value of a `number`. - **dec**: Decrease the value of a `number`. -- **getRandom**: Returns a random number from a range, with an optional number of decimal places. +- **random**: Returns a random number from a range, with an optional number of decimal places. ### Array