( block: Block, generator: DartGenerator, )
| 68 | } |
| 69 | |
| 70 | export function text_isEmpty( |
| 71 | block: Block, |
| 72 | generator: DartGenerator, |
| 73 | ): [string, Order] { |
| 74 | // Is the string null or array empty? |
| 75 | const text = |
| 76 | generator.valueToCode(block, 'VALUE', Order.UNARY_POSTFIX) || "''"; |
| 77 | return [text + '.isEmpty', Order.UNARY_POSTFIX]; |
| 78 | } |
| 79 | |
| 80 | export function text_indexOf( |
| 81 | block: Block, |
nothing calls this directly
no test coverage detected