arturo
arturo copied to clipboard
[Reflection\bytecode?] add documentation example
[Reflection\bytecode?] add documentation example
https://github.com/arturo-lang/arturo/blob/3a89302d1b1f33da097ed6e7bd6dfb05fc338482/src/library/Reflection.nim#L244
push(newLogical(x.kind==Block))
builtin "bytecode?",
alias = unaliased,
rule = PrefixPrecedence,
description = "checks if given value is of type :bytecode",
args = {
"value" : {Any}
},
attrs = NoAttrs,
returns = {Logical},
# TODO(Reflection\bytecode?) add documentation example
# labels: library, documentation, easy
example = """
""":
##########################################################
push(newLogical(x.kind==Bytecode))
builtin "char?",
alias = unaliased,
rule = PrefixPrecedence,
fcb50912b3b16368a3df2b64b579691dcfa28ccd