Searched refs:StringUtils (Results 1 – 6 of 6) sorted by relevance
17 import {StringUtils} from './string_utils';21 expect(StringUtils.parseBigIntStrippingUnit('-10')).toEqual(-10n);22 expect(StringUtils.parseBigIntStrippingUnit('-10 unit')).toEqual(-10n);23 expect(StringUtils.parseBigIntStrippingUnit('-10unit')).toEqual(-10n);24 expect(StringUtils.parseBigIntStrippingUnit(' -10 unit ')).toEqual(-10n);26 expect(StringUtils.parseBigIntStrippingUnit('0')).toEqual(0n);27 expect(StringUtils.parseBigIntStrippingUnit('0 unit')).toEqual(0n);28 expect(StringUtils.parseBigIntStrippingUnit('0unit')).toEqual(0n);29 expect(StringUtils.parseBigIntStrippingUnit(' 0 unit ')).toEqual(0n);31 expect(StringUtils.parseBigIntStrippingUnit('10')).toEqual(10n);[all …]
18 class StringUtils { class34 (StringUtils.isDigit(prevChar) || StringUtils.isLowerCase(prevChar));35 const currCharCouldBeWordStart = StringUtils.isUpperCase(currChar);51 return StringUtils.capitalizeFirstCharIfAlpha(token);58 if (!StringUtils.isAlpha(token[0])) {79 return StringUtils.isAlpha(char) && char === char.toLowerCase();84 return StringUtils.isAlpha(char) && char === char.toUpperCase();100 if (!StringUtils.isAlpha(word[0])) {107 export {StringUtils};
18 import {StringUtils} from 'common/string_utils';76 !StringUtils.isNumeric(cujType) ||77 !StringUtils.isNumeric(unixNs) ||78 !StringUtils.isNumeric(elapsedNs) ||79 !StringUtils.isNumeric(uptimeNs)
18 import {StringUtils} from 'common/string_utils';35 return StringUtils.convertSnakeToCamelCase(token);
17 import {StringUtils} from 'common/string_utils';76 !StringUtils.isBlank(substring)82 index > firstIndexOfEventLogTrace && StringUtils.isBlank(substring)
42 import {StringUtils} from 'common/string_utils';774 ).makeTimestampFromNs(StringUtils.parseBigIntStrippingUnit(target.value));