77
Backbone.js model.has()
The Backbone.js Has model returns true if the attribute is set to a non null or non-undefined value.
Syntax:
Parameter explanation:
attributes: It defines property of a created model.
Let’s take an example.
See this example: