Utility methods used by JSData.
Example
import {utils} from 'js-data'
console.log(utils.isString('foo')) // true
Members
-
<static> addHiddenPropsToTarget
-
Define hidden (non-enumerable), writable properties on
target
from the providedprops
. -
<static> Promise
-
Reference to the Promise constructor used by JSData. Defaults to
window.Promise
orglobal.Promise
.Exampleimport Promise from 'bluebird' import {utils} from 'js-data' utils.Promise = Promise
Methods
-
<static> diffObjects(a, b)
-
Return value:
Type Description Object Diff.
-
<static> equal()
-
TODO
-
<static> err()
-
TODO