getUseNative method

bool getUseNative()

Return true if this formatter uses native digits to format the number

Implementation

bool getUseNative() {
  String result = '';
  final String formatOptions = toJsonString();
  final String jscode1 = 'new NumFmt($formatOptions).getUseNative()';
  result = ILibJS.instance.evaluate(jscode1).stringResult;
  return result.toLowerCase() == 'true';
}