arturo icon indicating copy to clipboard operation
arturo copied to clipboard

[Reflection\bytecode?] add documentation example

Open github-actions[bot] opened this issue 2 years ago • 0 comments

[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

github-actions[bot] avatar Aug 02 '22 15:08 github-actions[bot]