question: private static int parseNumericFontWeight ( String fontWeightString ) { return fontWeightString . length ( ) == 3 && fontWeightString . endsWith ( "00" ) && fontWeightString . charAt ( 0 ) <= '9' && fontWeightString . charAt ( 0 ) >= '1' ? 100 * ( fontWeightString . charAt ( 0 ) - '0' ) : - 1 ; }
target:  Return -1 if the input string is not a valid numeric fontWeight (100, 200, ..., 900), otherwise return the weight. This code is duplicated in ReactTextInputManager TODO: Factor into a common place they can both use