Skip to content

extractObjectPaths

Overview

Extracts object paths (those ending with a specific suffix, like .detail).

Signature

extractObjectPaths(paths, suffix)

Parameters

NameTypeRequiredDescription
pathsstring[]yesPaths to process.
suffixstringyesThe suffix to look for.

Returns

string[]

Array of object paths.

Source

client/lib/utils/errors.js:173

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2