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
countWords(str: string): number

Parameters

  • str: string - The string to count words in.

Returns

number - The number of words in the string.

Source

Defined in string.ts:13