Home Reference Source
public class | source

TypedObject

This class is the base class for all Flexicious classes. It defines the basis for the Object oriented design, by implementing the "implementsOrExtends" function, which is a replacement for the "is" keyword from other OO languages.

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

typeCache: {}

Method Summary

Public Methods
public
public

Returns a list of strings that represent the object hierarchy for this object.

public

Returns true if the class name to check is in the list of class names defined for this class.

Public Constructors

public constructor() source

Public Members

public typeCache: {} source

Public Methods

public constructed() source

public getClassNames(): Array source

Returns a list of strings that represent the object hierarchy for this object.

Return:

Array

public implementsOrExtends(name: *): Boolean source

Returns true if the class name to check is in the list of class names defined for this class.

Params:

NameTypeAttributeDescription
name *

Name of the class to check

Return:

Boolean