phraseKindIsUnder

fun A_Phrase.phraseKindIsUnder(expectedPhraseKind: PhraseTypeDescriptor.PhraseKind): Boolean

Test whether this phrase has a PhraseKind that is equal to or a subkind of the given PhraseKind.

Also declared in A_Type, so the same operation applies both to phrases and to phrase types.

Return

Whether the receiver, a phrase, has a type whose phraseKind is at or below the specified PhraseKind.

Parameters

expectedPhraseKind

The PhraseKind to test this phrase for.