Exactly the the same but use a capital K for each.
layer.edgeAntialiasingMask = KCALayerLeftEdge | KCALayerRightEdge | KCALayerBottomEdge | KCALayerTopEdge
I'm not 100% certain if this will currently work in the REPL (it depends on if a known issue has been corrected yet).