aboutsummaryrefslogtreecommitdiff
path: root/include/cru/platform/web/JsUtility.h
blob: 37c2735d34e9a96492aa513a2de9e6ccdb9d4069 (plain)
1
2
3
4
5
6
7
8
9
#pragma once

#include <emscripten/val.h>

namespace cru::platform::web {
  bool IsNotNullAndInstanceOf(const emscripten::val& value, const emscripten::val& type);
  bool IsNotNullAndInstanceOf(const emscripten::val& value, const char* global_type);
}