Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "utils/assertions"

Index

Interfaces

Functions

Functions

assert

  • Checks for a condition; if the condition is false, follows the escalation policy set for the analyzer.

    Parameters

    Returns void

requires

  • requires(name: string, value: any): void
  • Specifies a precondition contract for the enclosing method or property, and displays a message if the condition for the contract fails.

    Parameters

    • name: string

      The method / property name to display if the condition is false.

    • value: any

      The conditional expression to test.

    Returns void

Generated using TypeDoc