MCPcopy Index your code
hub / github.com/aiscriptdev/aiscript / is_method

Method is_method

aiscript-vm/src/object.rs:187–189  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

185 }
186
187 pub fn is_method(&self) -> bool {
188 matches!(self, Self::Method { .. })
189 }
190
191 pub fn is_lambda(&self) -> bool {
192 matches!(self, Self::Lambda { .. })

Callers 2

newMethod · 0.80
func_declarationMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected