tryGetMap<T, S = IStorage>( storage: undefined | null | IStorage, key: string, opt?: { checkValue?: (value: unknown) => boolean; cloneContainer?: boolean; itemFactory?: (key: string, storage: S) => T; },): undefined| null| Map<string, T> Parameters
- storage: undefined | null | IStorage
- key: string
Optional
opt: {
checkValue?: (value: unknown) => boolean;
cloneContainer?: boolean;
itemFactory?: (key: string, storage: S) => T;
}
Returns undefined | null | Map<string, T>