Skip to content

The docs for $.Callbacks().has indicate that an argument is required #453

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions entries/callbacks.has.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
<title>callbacks.has()</title>
<signature>
<added>1.7</added>
<argument name="callback" type="Function">
<argument name="callback" type="Function" optional="true">
<desc>The callback to search for.</desc>
</argument>
</signature>
<desc>Determine whether a supplied callback is in a list</desc>
<desc>Determine whether or not the list has any callbacks attached. If a callback is provided as an argument, determine whether it is in a list</desc>
<longdesc/>
<example>
<desc>Use <code>callbacks.has()</code> to check if a callback list contains a specific callback:</desc>
Expand Down