/ fm / liveswitch / HashExtensions
Class: HashExtensions
fm.liveswitch.HashExtensions
Table of contents
Constructors
Methods
Constructors
constructor
+ new HashExtensions(): HashExtensions
Returns: HashExtensions
Methods
getTypeString
▸ getTypeString(): string
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/HashExtensions.ts:3
add
▸ Staticadd<T>(obj: Hash<string, T>, key: string, value: T): T
Type parameters:
| Name | 
|---|
| T | 
Parameters:
| Name | Type | 
|---|---|
| obj | Hash<string, T> | 
| key | string | 
| value | T | 
Returns: T
Defined in: Generated/TypeScript/fm.liveswitch/HashExtensions.ts:49
clear
▸ Staticclear<T>(obj: Hash<string, T>): void
Type parameters:
| Name | 
|---|
| T | 
Parameters:
| Name | Type | 
|---|---|
| obj | Hash<string, T> | 
Returns: void
Defined in: Generated/TypeScript/fm.liveswitch/HashExtensions.ts:60
containsKey
▸ StaticcontainsKey<T>(obj: Hash<any, T>, key: any): boolean
Type parameters:
| Name | 
|---|
| T | 
Parameters:
| Name | Type | 
|---|---|
| obj | Hash<any, T> | 
| key | any | 
Returns: boolean
Defined in: Generated/TypeScript/fm.liveswitch/HashExtensions.ts:34
containsValue
▸ StaticcontainsValue<T>(obj: Hash<string, T>, value: T): boolean
Type parameters:
| Name | 
|---|
| T | 
Parameters:
| Name | Type | 
|---|---|
| obj | Hash<string, T> | 
| value | T | 
Returns: boolean
Defined in: Generated/TypeScript/fm.liveswitch/HashExtensions.ts:41
getCount
▸ StaticgetCount<T>(obj: Hash<string, T>): number
Type parameters:
| Name | 
|---|
| T | 
Parameters:
| Name | Type | 
|---|---|
| obj | Hash<string, T> | 
Returns: number
Defined in: Generated/TypeScript/fm.liveswitch/HashExtensions.ts:6
getKeys
▸ StaticgetKeys<T>(obj: Hash<string, T>): string[]
Type parameters:
| Name | 
|---|
| T | 
Parameters:
| Name | Type | 
|---|---|
| obj | Hash<string, T> | 
Returns: string[]
Defined in: Generated/TypeScript/fm.liveswitch/HashExtensions.ts:13
getValues
▸ StaticgetValues<T>(obj: Hash<string, T>): T[]
Type parameters:
| Name | 
|---|
| T | 
Parameters:
| Name | Type | 
|---|---|
| obj | Hash<string, T> | 
Returns: T[]
Defined in: Generated/TypeScript/fm.liveswitch/HashExtensions.ts:20
remove
▸ Staticremove<T>(obj: Hash<string, T>, key: string): boolean
Type parameters:
| Name | 
|---|
| T | 
Parameters:
| Name | Type | 
|---|---|
| obj | Hash<string, T> | 
| key | string | 
Returns: boolean
Defined in: Generated/TypeScript/fm.liveswitch/HashExtensions.ts:53
tryGetValue
▸ StatictryGetValue<T>(obj: Hash<any, T>, key: any, holder: Holder<T>): boolean
Type parameters:
| Name | 
|---|
| T | 
Parameters:
| Name | Type | 
|---|---|
| obj | Hash<any, T> | 
| key | any | 
| holder | Holder<T> | 
Returns: boolean
Defined in: Generated/TypeScript/fm.liveswitch/HashExtensions.ts:27