• Parameters

    • conditions: string[]
    • true_function: string[][]

    Returns string[]

    Description

    A standard while loop

    Example

    import { while_loop, c_log } from './lib/core';

    export const update = [
    while_loop(
    [
    'self.score < 1000',
    ],
    [
    c_log("Less than 1000 points"),
    ]
    )
    ];

Generated using TypeDoc