def

func:specIs

specIs(a, b)

Return if spec a inherits from spec b based on nominal typing. This method checks the explicit inheritance hierarchy via specBase(). Use is() to check if an instance is of a given type. Also see fits() and specFits() to check using structural typing.

Examples:

specIs(Str, Scalar)     >>  true
specIs(Scalar, Scalar)  >>  false
specIs(Equip, Dict)     >>  true
specIs(Meter, Equip)    >>  true
specIs(Meter, Point)    >>  false

meta

supertypes

feature

Feature namespace of definitions formatted as feature:name

    func

Axon function