Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Ensure

Provides static methods to ensure arguments are valid type.

Hierarchy

  • Ensure

Index

Methods

Static checkFQNString

  • checkFQNString(name: string): boolean

Static tobeComponentConstructor

  • string, NSIdentity or constructor ensure to be constructor. return null if identity is not registered as component.

    Type parameters

    • T

    Parameters

    Returns Nullable<Ctor<T>>

    [description]

Static tobeComponentIdentity

Static tobeFQN

Static tobeMessage

  • tobeMessage(message: string): string

Static tobeNSDictionary

Static tobeNSIdentity

Static tobeNSIdentityArray

Static tobeNumber

  • tobeNumber(num: string | number): number
  • Ensure specified number being number

    Parameters

    • num: string | number

    Returns number

    [description]

Static tobeString

  • tobeString(str: string | number): string
  • Ensure specified str being string

    Parameters

    • str: string | number

    Returns string

    [description]

Generated using TypeDoc