> ## Documentation Index
> Fetch the complete documentation index at: https://docs.forterulesengine.io/llms.txt
> Use this file to discover all available pages before exploring further.

# createCallingFunctionLookupMaps

> v0.20.5

> **createCallingFunctionLookupMaps**(`callingFunctions`): `object`

Defined in: [src/modules/validation.ts:13](https://github.com/Forte-Service-Company-Ltd/forte-rules-engine-sdk/blob/40cc8388cecd8ee445b00b9df2b681cff8552ece/src/modules/validation.ts#L13)

Creates lookup maps for efficient calling function resolution.
This utility function creates the necessary Map structures for O(1) lookups.

## Parameters

| Parameter          | Type                                                          | Description                           |
| ------------------ | ------------------------------------------------------------- | ------------------------------------- |
| `callingFunctions` | [`CallingFunctionJSON`](../interfaces/CallingFunctionJSON)\[] | Array of calling function definitions |

## Returns

`object`

Object containing the three lookup maps

### callingFunctionByName

> **callingFunctionByName**: `Record`\<`string`, [`CallingFunctionJSON`](../interfaces/CallingFunctionJSON)>

### callingFunctionByNameLower

> **callingFunctionByNameLower**: `Record`\<`string`, [`CallingFunctionJSON`](../interfaces/CallingFunctionJSON)>

### callingFunctionBySignature

> **callingFunctionBySignature**: `Record`\<`string`, [`CallingFunctionJSON`](../interfaces/CallingFunctionJSON)>
