• A type-guard-like function for the app mode of ModifySettingsMessage.

    Parameters

    Returns AppSetting[] | null

    A list of recognized AppSettings in the message if so; otherwise null

    This function is like a type guard for the ModifySettingsMessage interface, with the additional constraint that it only matches messages targeting the overall app. If that is the case, it returns an array of the settings that matched this package's knowledge of acceptable app settings. Unrecognized settings are filtered out from the return value.

    If the message does not seem to be a settings-modification message, null is returned.

Generated using TypeDoc