Options
All
  • Public
  • Public/Protected
  • All
Menu

  subscribe now with sterfive to access the online-user manual

Index

Type aliases

NodeIdLike

NodeIdLike: string | NodeId | number

Functions

coerceExpandedNodeId

coerceNodeId

  • coerceNodeId(value: any, namespace?: number): NodeId
  • Convert a value into a nodeId:

    method

    coerceNodeId

    static
    description:
    • if nodeId is a string of form : "i=1234" => nodeId({value=1234, identifierType: NodeIdType.NUMERIC})
    • if nodeId is a string of form : "s=foo" => nodeId({value="foo", identifierType: NodeIdType.STRING})
    • if nodeId is a NodeId : coerceNodeId returns value

    Parameters

    • value: any
    • Optional namespace: number

    Returns NodeId

makeExpandedNodeId

makeNodeId

  • makeNodeId(value: string | Buffer | number, namespace?: number): NodeId
  • construct a node Id from a value and a namespace.

    method

    makeNodeId

    static

    Parameters

    • value: string | Buffer | number
    • Optional namespace: number

    Returns NodeId

resolveNodeId

  • method

    resolveNodeId

    static

    Parameters

    Returns NodeId

    the nodeId

sameNodeId

  • Parameters

    Returns boolean

Generated using TypeDoc