Class Debug

Index

Properties

Methods

Properties

private static currentAssertionLevel: any

Methods

public static assert(expression: any, message?: string, verboseDebugInfo?: () => string)

Parameters

  • expression: any
  • message?: string optional
  • verboseDebugInfo?: () => string optional

public static fail(message?: string)

Parameters

  • message?: string optional

public static shouldAssert(level: AssertionLevel): boolean

Parameters

Returns

boolean