Skip to main content
ichigyou (一行 いちぎょう) functions documentation home page
Search...
⌘K
Support
Dashboard
Dashboard
Search...
Navigation
Number
mean
Guides
GitHub
Getting started
Introduction
Quickstart
Development
Array
arrToString
findIndex
first
firstNElements
hasEvenNumber
hasUniqueValues
intersection
isSorted
isSubset
last
lastNElements
minMax
removeDuplicated
removeElement
Number
average
binaryToDecimal
decimalToOctal
degToRad
exponential
factorial
findMax
mean
median
sum
Object
hasProperty
isEmptyObject
sortByProperty
Other
currentMonth
getOS
moveToTop
String
countLetters
countOccurrences
countTextRows
countWords
findLongestWord
isAnagram
isEmptyString
isNumeric
isPalindromeCaseSensitive
isValidEmail
isValidURL
removeDuplicatedChars
removeVowels
removeWhitespace
reverseString
reverseWords
shuffleCharacters
toTitleCase
truncateString
AI tools
Cursor setup
Claude Code setup
Windsurf setup
On this page
Signature
Parameters
Returns
Source
Number
mean
Copy page
Calculates the mean of an array of numbers.
Copy page
Signature
path=null start=null
Copy
mean
(
arr
:
number
[]):
number
Parameters
arr
:
number[]
- The array of numbers.
Returns
number
- The mean of the array of numbers.
Source
Defined in
number.ts:13
findMax
median
⌘I