Skip to main content

Documentation Index

Fetch the complete documentation index at: https://kk-83bff226.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Signature

path=null start=null
countLetters(str: string): { [key: string]: number }

Parameters

  • str: string - The input string.

Returns

{ [key: string]: number } - An object where keys represent letters (lowercase) and values represent their counts.

Source

Defined in string.ts:179