(ast: AST.AST, fallback = encodingJson)
| 135 | * @category annotations |
| 136 | */ |
| 137 | export const getEncoding = (ast: AST.AST, fallback = encodingJson): Encoding => |
| 138 | getAnnotation<Encoding>(ast, AnnotationEncoding) ?? fallback |
| 139 | |
| 140 | /** |
| 141 | * @since 1.0.0 |
nothing calls this directly
no test coverage detected