moosync_edk::api::extension_api

Function get_preference

Source
pub fn get_preference(data: PreferenceData) -> MoosyncResult<Value>
Expand description

Retrieves a preference value based on the provided data.

§Arguments

  • data - The data to filter the preference.

§Returns

A Value object representing the preference.