* Check if func is PackedFunc. * * @param func The input. * @returns The check result.
(func: unknown)
| 1149 | * @returns The check result. |
| 1150 | */ |
| 1151 | isPackedFunc(func: unknown): boolean { |
| 1152 | return typeof func === "function" && func.hasOwnProperty("_tvmPackedCell"); |
| 1153 | } |
| 1154 | |
| 1155 | /** |
| 1156 | * Convert func to PackedFunc |
no outgoing calls
no test coverage detected