is-type
any →
is-type(
type: type
) → boolean
Returns whether the input has the requested Expressif runtime type or belongs to the requested type family, without coercion.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
type | type | Yes | Specifies the Expressif type descriptor to test. |
Argument evaluation
type: Evaluated once in the enclosing context.
Examples
42 | is-type(:numeric) → #true
"42" | is-type(:numeric) → #false
Kind: Predicate
Scope: special
Aliases: None