VintaSoft Twain .NET SDK 15.1: Documentation for Web developer
Vintasoft.Shared Namespace / WebEnumItemBaseJS type / equals Methods / equals(string) Property
Syntax BrowserCompatibility SeeAlso
In This Topic
    equals(string) Method
    In This Topic
    Determines that this enumeration element is equals to the specified enumeration element.
    Syntax
    var instance = new Vintasoft.Shared.WebEnumItemBaseJS();
    
    var value; // Type: boolean
    
    // Parameters
    var val; // Type: string
    
    value = instance.equals(val);
    
    
    function equals(
    val
    Name of enumeration element.
    : string
    ) : boolean;

    Parameters

    val
    Name of enumeration element.

    Return Value

    True - this enumeration element and the specified enumeration element are equal; False - this enumeration element and the specified enumeration element are NOT equal.
    Browser Compatibility
    9
    See Also