Member-methods documented as returning the wrong type.

Description

It seems that many of the member-methods are documented as returning `Boolean` values, which is what the build-in functions return. However, in action, member-methods actually (often times) return the host object.

For example, `array.append()` is documented as returning a `Boolean`:

... but, returns the host Array.

I outlined the methods I tested over here:

https://www.bennadel.com/blog/3813-built-in-functions-and-member-methods-return-different-data-types-in-lucee-cfml-5-3-5-92.htm

I'd be happy to submit PRs for the documentation if someone could point me to where / how that is done.

Activity

Show:
Pothys - MitrahSoft
June 5, 2020, 10:38 AM

It was updated in docs. So, I close the ticket.

Ben Nadel
April 17, 2020, 1:50 PM

You guys are amazing!!

Zac Spitzer
April 17, 2020, 1:26 PM

docs have been updated, this can be closed

Zac Spitzer
April 17, 2020, 1:17 PM

thanks!

Michael Offner
April 17, 2020, 11:30 AM

moved ticket to doc project

Fixed
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Unassigned

Reporter

Ben Nadel