from typing import Any


def ifTrueOrFalse(test: bool, ifTrue: Any, ifFalse: Any) -> Any:
    """ implements C's test ? ifTrue : ifFalse """
    if test:
        return ifTrue
    else:
        return ifFalse