helper
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Private Members | ||
private |
_simpleIdCounter: number |
Method Summary
Public Methods | ||
public |
deletePropertyByPath(obj: *, path: *) |
|
public |
isNumeric(n: *): boolean checks value for !isNan and isFinite |
|
public |
simpleId(): Number generate a simple ID using an internal counter |
|
public |
uuid(): string generate a random v4 uuid |
Public Constructors
public constructor() source
Private Members
private _simpleIdCounter: number source
Public Methods
public deletePropertyByPath(obj: *, path: *) source
Params:
Name | Type | Attribute | Description |
obj | * | ||
path | * |
public isNumeric(n: *): boolean source
checks value for !isNan and isFinite
Params:
Name | Type | Attribute | Description |
n | * |
Return:
boolean |
public simpleId(): Number source
generate a simple ID using an internal counter
Return:
Number | new id |