• Throw out error if condition is undefined, false, null, '' or 0

    Parameters

    • condition: unknown
    • Optionalmessage: string | Error

    Returns asserts condition