Name

subtype?

Usage

builtin-function

Syntax

(subtype? subtype supertype)

Returns true if subtype is a subtype of supertype.

user > (subtype? 'int 'number)
it: true
user > (subtype? 'int 'string)
it: false