Function: useTrySetting
▸ useTrySetting<T
>(selector
): T
| undefined
Type parameters
Name | Type |
---|---|
T | any |
Parameters
Name | Type |
---|---|
selector | string |
Returns
T
| undefined
Defined in
onekijs/packages/onekijs-framework/src/core/useTrySetting.ts:4
▸ useTrySetting<T
>(selector
, defaultValue
): T
| undefined
Type parameters
Name | Type |
---|---|
T | any |
Parameters
Name | Type |
---|---|
selector | string |
defaultValue | undefined |
Returns
T
| undefined
Defined in
onekijs/packages/onekijs-framework/src/core/useTrySetting.ts:5
▸ useTrySetting<T
>(selector
, defaultValue
): T
| null
Type parameters
Name | Type |
---|---|
T | any |
Parameters
Name | Type |
---|---|
selector | string |
defaultValue | null |
Returns
T
| null
Defined in
onekijs/packages/onekijs-framework/src/core/useTrySetting.ts:6
▸ useTrySetting<T
>(selector
, defaultValue
): T
Type parameters
Name | Type |
---|---|
T | any |
Parameters
Name | Type |
---|---|
selector | string |
defaultValue | T |
Returns
T
Defined in
onekijs/packages/onekijs-framework/src/core/useTrySetting.ts:7