Home Reference Source
public class | source

helper

Constructor Summary

Public Constructor
public

Member Summary

Private Members
private

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:

NameTypeAttributeDescription
obj *
path *

public isNumeric(n: *): boolean source

checks value for !isNan and isFinite

Params:

NameTypeAttributeDescription
n *

Return:

boolean

public simpleId(): Number source

generate a simple ID using an internal counter

Return:

Number

new id

public uuid(): string source

generate a random v4 uuid

Return:

string