Contents

stateDescriptor(of:)

Returns the descriptor for the specified state.

Declaration

func stateDescriptor(of stateName: String) -> InferenceValue.Descriptor?

Parameters

  • stateName:

    The name of the state.

Return Value

The descriptor for the state, or nil if the function doesn’t have a state with the specified name.

See Also

Describing state