Namespace: helpers

pinia-jsonapi.helpers

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

Source:

Members

(static) attrs

Properties:
Type Description
object

An object containing all attributes for this object

Source:

(static) rels

Properties:
Type Description
object

An object containing all relationships for this object

Source:

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

Source:

(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

Source: