isCollection(collection)
Can be imported as:
import { isCollection } from 'tydel';
Returns true if it is indeed a collection instance, and false otherwise.
true
false