@Adám It's easy to get this n@{(x∊i)∨~x∊t}t⍳x but I can't seem to make a train out of the operand to @. It seems like there should be on hiding in there.
@PaulMansour Well, the operand is "niladic" (it ignores its argument), so it'll be a bit odd: ((x∊i∘⊢)≥x∊t∘⊢) or (⊃(≥/x∘∊¨i t∘⊢)) If we get one or more constant operators it'll be slightly neater.
@PaulMansour Oh, I misread. I thought we actually had to return the value. Odd that the result is a mixture of indices and default values. I automatically assumed that the result would be consistent (only values, from the table or the fallback).
@Adám that's why I asked about it being very similar to ⍳. Seems like the default behaviour for ⍳, but instead of returning 1+≢⍵, it returns a fallback value when some item is not found.
@PaulMansour If you follow the link then press Esc,S,G it will copy a ready post to your clipboard. You can paste that, but just remember to adjust the byte count from 35 to 19. Then go ahead and post your very first official code golf solution!