nl_tokens: Utility method that finds the name of the key for a given enum value and makes it look a little nicer .
pl_tokens: function ( enumObj , val ) { for ( var key of <mask> . keys ( enumObj ) ) { if ( enumObj [ key ] === val ) { return key . split ( '_' ) . map ( word => word . charAt ( 0 ) . toUpperCase ( ) + word . slice ( 1 ) . toLowerCase ( ) ) . join ( ' ' ) ; } } return null ; }