julia> @less 1 isa Int
ERROR: could not determine location of method definition
How else can I locate the method definition? Grepping for isa
is tricky.
julia> @less 1 isa Int
ERROR: could not determine location of method definition
How else can I locate the method definition? Grepping for isa
is tricky.
julia> methods(isa)
# 1 method for builtin function "isa":
[1] isa(...) in Core
Built-in functions print (built-in function)
if you evaluate them (just their name) in the REPL:
julia> isa
isa (built-in function)
julia> getfield
getfield (built-in function)
Aye, but where is this built-in function defined?
Bermuda triangle.
julia> methods(isa)[1].file
Symbol("")
julia> methods(isa)[1].line
0