(arg: Node, kind: KindBits)
| 1054 | |
| 1055 | // e.g. `"a"` or a Type, which a method can't call back with what it holds |
| 1056 | const isReadOnlyArg = (arg: Node, kind: KindBits): boolean => |
| 1057 | arg.type === "Literal" || arg.type === "TemplateLiteral" || isOnlyArk(kind) |
| 1058 | |
| 1059 | export const isOnlyType = (kind: KindBits): boolean => |
| 1060 | (kind & (kinds.type | kinds.otherArk | kinds.data)) === kinds.type |
no test coverage detected