(config)
| 258 | } |
| 259 | |
| 260 | export function getExpectedCountValue(config) { |
| 261 | const system = COUNTING_SYSTEMS[config.system] ? config.system : 'decimal'; |
| 262 | return COUNTING_SYSTEMS[system].toString(config.nextNumber || 1); |
| 263 | } |
| 264 | |
| 265 | export function isValidCountingMessage(content, config) { |
| 266 | const trimmed = content.trim(); |