Home Reference Source

Function

Static Public Summary
public

checkDatapointType(input: *): *

Check if an object is a Datapoint or JSON object.

public

Check if override flag is valid.

public

checkType(input: *): *

Check if an object is a JSON object.

Static Public

public checkDatapointType(input: *): * source

Check if an object is a Datapoint or JSON object.

Params:

NameTypeAttributeDescription
input *

object to validate.

Return:

*

public checkPermissionsOverride(dpt: Datapoint, override: boolean): boolean source

Check if override flag is valid.

Params:

NameTypeAttributeDescription
dpt Datapoint

Datapoint object.

override boolean

Override flag.

Return:

boolean

public checkType(input: *): * source

Check if an object is a JSON object.

Params:

NameTypeAttributeDescription
input *

object to validate.

Return:

*