You have been redirected from an outdated version of the article. Below is the content available on this topic. To view the old article click here.

is_collection()

Usage

is_collection(obj)

Description
Returns a boolean value that indicates whether the given object is a collection.

Example

${is_collection(find('User'))}

results in

true

Search results for "is_collection()"

is_collection()

Returns a boolean value that indicates whether the given object is a collection.

is_collection(obj)