getSelectedState :function
This utility function is used to select an option from an options list. It returns a callback function generally meant to be used withinComputed
s. This function also keeps track of the given values, and if they change, re-calculates the result.
Default Syntax
local getSelectedState = require(StudioComponents.Util.getSelectedState)
local returnedFunction = Scope:Computed(getSelectedState(props))
Parameters
props: GetSelectedStateProperties
The table which contains the properties that will be used within the returned callback function.
Returns Function