API Reference > imodeljs-backend > NativeApp > NativeAppStorage > getBoolean getBoolean Method Get the value for a key as a boolean. If it is not present, or not of type boolean, return undefined getBoolean(key: string): undefined | boolean Parameter Type Description key string Returns - undefined | boolean Defined in core/backend/src/NativeAppStorage.ts Line 87 Last Updated: 12 June, 2024