Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Preconditions

Hierarchy

  • Preconditions

Index

Methods

Static checkExpression

  • checkExpression(expression: boolean, message: string): void
  • memberof

    Preconditions# check is the provided expression is true

    Parameters

    • expression: boolean
    • message: string

    Returns void

Static checkNotNull

  • checkNotNull(value: any, message: string): any
  • memberof

    Preconditions# check if the value is not null

    Parameters

    • value: any
    • message: string

    Returns any

Static deprecated

  • deprecated(functionName: string, message: string): void
  • memberof

    Preconditions# log deprecated warning

    Parameters

    • functionName: string
    • message: string

    Returns void