Skip to main content

@terascope/data-types / utils

utils

Functions

concatUniqueStrings()

concatUniqueStrings(...values): string[]

Parameters

ParameterType
...valuesConcatStrType[]

Returns

string[]

Source

data-types/src/utils.ts:9


joinStrings()

joinStrings(...values): string

Parameters

ParameterType
...valuesConcatStrType[]

Returns

string

Source

data-types/src/utils.ts:25


validateDataTypeConfig()

validateDataTypeConfig(config): DataTypeConfig

Parameters

ParameterType
configDataTypeConfig

Returns

DataTypeConfig

Source

data-types/src/utils.ts:29


validateField()

validateField(field): boolean

Parameters

ParameterType
fieldunknown

Returns

boolean

Source

data-types/src/utils.ts:66