Signature
path=null start=null
Parameters
- str1:
string- The first string. - str2:
string- The second string.
Returns
boolean - Returns true if the two strings are anagrams of each other, false otherwise.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Checks if two strings are anagrams of each other.
isAnagram(str1: string, str2: string): boolean
string - The first string.string - The second string.boolean - Returns true if the two strings are anagrams of each other, false otherwise.