Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IType<T>

Defines some rules to implements by instance which implements from @see IType

Type parameters

  • T

Hierarchy

  • IType

Implemented by

Index

Methods

Optional equals

  • equals(src: T, dest: T, stack?: any[]): boolean
  • Parameters

    • src: T
    • dest: T
    • Optional stack: any[]

    Returns boolean

Optional getClone

  • getClone(o: T): T
  • gets clone of the given value.

    Parameters

    • o: T

    Returns T

Optional getName

  • getName(o: T): string
  • gets type name of the given value.

    Parameters

    • o: T

    Returns string

Optional getSize

  • getSize(o: T): number
  • gets size of the given value

    Parameters

    • o: T

    Returns number

Optional hasNot

  • hasNot(o: T): boolean
  • Checks the given value is Empty or not.

    Parameters

    • o: T

    Returns boolean

Optional isJsonType

  • isJsonType(): boolean
  • Checks the given value is Json Type or not.

    Returns boolean

Optional isNativeType

  • isNativeType(): boolean
  • Checks the given value is Native Type or not. Native types is used in core javascript library.

    Returns boolean

Optional isPrimitive

  • isPrimitive(): boolean
  • Checks the given value is primitive or not. Primitive mean you can use = (equality) sign on primitive types

    Returns boolean

Generated using TypeDoc