@dxos/echo
    Preparing search index...

    Variable getFromAstConst

    getFromAst: {
        <T>(annotation: Annotation.Annotation<T>): (ast: AST) => Option<T>;
        <T>(ast: AST, annotation: Annotation.Annotation<T>): Option<T>;
    } = ...

    Get the value of an annotation from a schema AST.

    Type declaration

    O(1) annotation lookup, but decodes the value on every call (not cached).