Skip to content

extractStringPaths ​

Overview ​

Extracts string paths (those that don't start with object paths).

Signature ​

extractStringPaths(paths, objectPaths)

Parameters ​

NameTypeRequiredDescription
pathsstring[]yesPaths to process.
objectPathsstring[]yesPaths already identified as object errors/warnings.

Returns ​

string[]

Array of string paths.

Source ​

client/lib/utils/errors.js:243