Deck.prototype.has >= 0.1.2

Purpose

See if the deck has a certain key

Syntax

Deck#has ( Stringkey );

Parameters

key

Return values

Boolean

Examples

var a = new Deck();

a.set('key', false);>>> 0

a.has('key');>>> true

a.has('test');>>> false