basedmypy icon indicating copy to clipboard operation
basedmypy copied to clipboard

an `AttributeOf` form

Open KotlinIsland opened this issue 1 year ago • 0 comments

like keyof in ts:

def f[T](t: T, a: AttributeOf[T]):

f(1, "real")  # ok
f(1, "fake")  # error

KotlinIsland avatar Nov 04 '24 06:11 KotlinIsland