UNPKG

@joshfarrant/shortcuts-js

Version:
23 lines (22 loc) 618 B
import WFWorkflowAction from '../interfaces/WF/WFWorkflowAction'; /** * @action Get Dictionary Value * @section Actions > Scripting > Dictionaries * @icon Scripting * * Gets the value for the specified key in the dictionary passed into the action. * * ```js * getDictionaryValue({ * get: 'Value', * key: 'My Key', * }); * ``` */ declare const getDictionaryValue: ({ key, get, }: { /** The key of the dictionary to get */ key?: string | undefined; /** The thing to get */ get?: "Value" | "All Keys" | "All Values" | undefined; }) => WFWorkflowAction; export default getDictionaryValue;