started docs!
This commit is contained in:
22
content/docs/macros/MV_OMIT_FUNCTION.md
Normal file
22
content/docs/macros/MV_OMIT_FUNCTION.md
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
weight: 100
|
||||
title: "MV_OMIT_FUNCTION"
|
||||
description: "Omit all mangling steps"
|
||||
icon: "article"
|
||||
date: "2025-05-01T18:47:58-05:00"
|
||||
lastmod: "2025-05-01T18:47:58-05:00"
|
||||
---
|
||||
|
||||
`declare function MV_OMIT_FUNCTION<A..., R...>(omit: (A...) -> R...): (A...) -> R...`
|
||||
|
||||
will omit all mangling steps from the passed function, will also disregard any indexes set by `MV_INDEX_TO_NUM`
|
||||
|
||||
## Valid Usage
|
||||
|
||||
```lua
|
||||
local dontMangleMe = MV_OMIT_FUNCTION(function()
|
||||
print("im in plaintext!")
|
||||
end)
|
||||
|
||||
donMangleMe()
|
||||
```
|
Reference in New Issue
Block a user