Skip to content

TypeScript API / laikacms/json-api / isLaikaError

Function: isLaikaError() ​

ts
function isLaikaError(error): error is LaikaError<ErrorCode, number>;

Parameters ​

ParameterType
errorunknown

Returns ​

error is LaikaError<ErrorCode, number>

Released under the MIT License.