Utils
Provides static common utility methods.
Static Method Summary
Static Public Methods | ||
public static |
invokeOrValue(object: object, property: string): * Invokes the property as a function if it exists returning the result or just the property value. |
|
public static |
isNullOrUndef(unknown: *): boolean Method for checking whether a variable is undefined or null. |
|
public static |
Method for checking if a given child is a type of the parent. |
Static Public Methods
public static invokeOrValue(object: object, property: string): * source
Invokes the property as a function if it exists returning the result or just the property value.
Return:
* |