Functions

Index

combinePath

Adds two paths and returns the result Correctly processes leading and trailing slashes

▸ combinePath(path1: string,path2: string): string

Parameters:

  • path1: string
  • path2: string -

Returns string


convertValue

Converts a value from one DataType to another

▸ convertValue(value: string,fromDataType: DataType,toDataType: DataType): string

Parameters:

  • value: string
  • fromDataType: DataType - the original data type
  • toDataType: DataType - the data type we want to get

Returns string


linkTypeToStr

Converts a LinkType value to a string

▸ linkTypeToStr(type: LinkType): string

Parameters:

Returns string


parseOperatorFormat

Parses the operator's format string and returns a list of tokens

▸ parseOperatorFormat(operator: any): FormatToken[]

Parameters:

  • operator: any -

Returns FormatToken[]


strToLinkType

Converts a string to a LinkType value

▸ strToLinkType(str: string): LinkType

Parameters:

  • str: string -

Returns LinkType