test_n
test_n outputs 1 when the last n input values all equal a specified value. Supply the value and n as arguments—for example, test_n 2 3 reports success after receiving 2 three times in a row.
AI Generated
This content was generated with the assistance of AI. If you notice any errors, please report them or submit a fix using Submit. Check the prompt used here.
- Download via Deken.
Open
Pdand go toToolsFind Externals. Search formappingand install it. Then create an object withdeclare -lib mapping -path mapping. Finally, usetest_nor any other object frommapping.