contains

Checks if other is a sub-kind of this DocumentDropOrPasteEditKind.

The kind "text.plain" for example contains "text.plain" and "text.plain.list", but not "text" or "unicorn.text.plain".

Parameters

other

Kind to check.

Online Documentation