Namespace

helpers

jsonapi-vuex.helpers

Helper methods added to _jv by module:jsonapi-vuex.utils.addJvHelpers

View Source lib.js, line 17

Members

# static attrs

Properties:
Type Description
object

An object containing all attributes for this object

View Source lib.js, line 104

# static rels

Properties:
Type Description
object

An object containing all relationships for this object

View Source lib.js, line 87

Methods

# static isAttr(name)

Parameters:
Name Type Description
name string

Name of a (potential) attribute returns {boolean} true if the name given is an attribute of this object

View Source lib.js, line 82

# static isRel(name)

Parameters:
Name Type Description
name string

Name of a (potential) relationship returns {boolean} true if the name given is a relationship of this object

View Source lib.js, line 74