• Asserts an expresson and throw onError return value if falsy.

    Parameters

    • expression: boolean
    • onError: (() => Error)
        • (): Error
        • Returns Error

    Returns void

Generated using TypeDoc