Declaration.isTypeclass method

Returns true if the input value is an instance of Declaration.

DeclarationisTypevalueis-declaration

nametypedescription

value

any

A value to be tested.

is-declaration

Boolean

true if value is an instance of Declaration, false otherwise.