KJSArguments Class Reference

#include <kjsarguments.h>

Public Member Functions

KJSObject at (int idx) const
int count () const

Detailed Description

A class representing a list of JavaScript arguments.

Argument list

Definition at line 36 of file kjsarguments.h.

Member Function Documentation

KJSObject KJSArguments::at ( int  idx) const

Returns the argument at the specified index.

Accessing an argument outside of the valid range will return an object of type "undefined".

Definition at line 31 of file kjsarguments.cpp.

int KJSArguments::count ( ) const

Returns the number of arguments.

Definition at line 25 of file kjsarguments.cpp.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Mon Jan 18 2021 23:02:23 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.