Skip to content

.hasProperty

Arthur Guiot edited this page Oct 16, 2017 · 1 revision

How it works?

The .hasProperty will check if an object has or not a property

Example

eye.test("property", "node",
	$ => $({
    	a: "Hello"
    }).hasProperty("a")
)

⚠️ Questions?

Don't hesitate to ask your questions ⁉️ in the issue part 😁

Clone this wiki locally