Look up bindings
You can retrieve the bindings of an action using its InputAction.bindings property which returns a read-only array of InputBinding structs.
It looks like the sample you are looking for does not exist.
Also, all the bindings for all actions in an InputActionMap are made available through the InputActionMap.bindings property. The bindings are associated with actions through an action ID or action name stored in the InputBinding.action property.
It looks like the sample you are looking for does not exist.
You can also look up the indices of specific bindings in InputAction.bindings using the InputActionRebindingExtensions.GetBindingIndex method.
It looks like the sample you are looking for does not exist.
Finally, you can look up the binding that corresponds to a specific control through GetBindingIndexForControl. This way, you can, for example, map a control found in the controls array of an InputAction back to an InputBinding.
It looks like the sample you are looking for does not exist.