add comments
This commit is contained in:
parent
bfb405c4a6
commit
ec0ecf5151
@ -1,9 +1,18 @@
|
|||||||
|
/**
|
||||||
|
* Flow control functions
|
||||||
|
*
|
||||||
|
* @author d98762625 [d98762625@gmail.com]
|
||||||
|
* @copyright Crown Copyright 2018
|
||||||
|
* @license Apache-2.0
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the index of a label.
|
* Returns the index of a label.
|
||||||
*
|
*
|
||||||
* @private
|
* @private
|
||||||
* @param {Object} state
|
* @param {Object} state
|
||||||
* @param {string} name
|
* @param {string} name - The label name to look for.
|
||||||
* @returns {number}
|
* @returns {number}
|
||||||
*/
|
*/
|
||||||
export function getLabelIndex(name, state) {
|
export function getLabelIndex(name, state) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user