Declaration.areTypeclass method

Returns true if all the values in collection are instances of Declaration.

DeclarationareTypecollectionare-declaration-instances

nametypedescription

collection

Array-like value.

A list of values to be tested.

are-declaration-instances

Boolean

true if all the values in collection are an instances of Declaration, false otherwise.