is()

Type : public method

Support : 0.6

Return : Boolean

  • 해당개체가 배열이면 true 반환.
    HTMLCollection은 false

Methods

  • is( value ) : Booleanver 0.6~

    • value : *
      대상 값

Example

var ary = [ 0, 1, 2, 3 ];
var isArray = $B.array.is( ary );// true