UNPKG

angular4-hal

Version:

This Angular module offers a HAL/JSON http-client to easily interact with a Spring Data Rest API or any API that implements the Spring Data Rest resource model

13 lines (12 loc) 365 B
var Utils = /** @class */ (function () { function Utils() { } Utils.isNullOrUndefined = function (value) { return value === null || value === undefined; }; Utils.isPrimitive = function (value) { return (typeof value !== 'object' && typeof value !== 'function') || value === null; }; return Utils; }()); export { Utils };