Skip to main content

useTrySetting

useTrySetting<T>(selector: string): T | undefined
useTrySetting<T>(selector: string,defaultValue: undefined): T | undefined
useTrySetting<T>(selector: string,defaultValue: null): T | null
useTrySetting<T>(selector: string,defaultValue: T): T

Properties

(Mandatory properties are in bold)
PropertiesTypeDescription
selectorstring