typeof
Definition
-- @/=[C]:-1
function typeof(...)
Callers
@/ui/modules/repository/repository.js
vm.modData.last_update = new Date(vm.modData.last_update*1000)
if( typeof(vm.modData.attachments) === "string"){
vm.modData.attachments = JSON.parse(vm.modData.attachments)
@/ui/lib/ext/angular-translate/angular-translate-loader-partial/angular-translate-loader-partial.js
var cache = $translate.loaderCache();
if (typeof(cache) === 'string') {
// getting on-demand instance of loader
// Purging items from cache...
if (typeof(cache) === 'object') {
angular.forEach(parts[name].tables, function (value, key) {
@/ui/lib/ext/angular-translate/angular-translate.js
loaderCache = true;
} else if (typeof(cache) === 'undefined') {
// enable cache using default
var cache = loaderCache;
if (typeof(cache) === 'string') {
// getting on-demand instance of loader
if (typeof(fn) === 'string') {
// getting on-demand instance
@/ui/lib/ext/spine-canvas.js
var skeletonData = new spine.SkeletonData();
var root = typeof (json) === "string" ? JSON.parse(json) : json;
var skeletonMap = root.skeleton;
};
Utils.SUPPORTS_TYPED_ARRAYS = typeof (Float32Array) !== "undefined";
return Utils;
@/lua/common/lpack.lua
local daType = ffi.typeof("double[?]")
@/inspector/Views/CodeMirrorFormatters.js
if (!token) {
if (content === "(") // Most keywords like "if (" but not "function(" or "typeof(".
return lastToken && /\bkeyword\b/.test(lastToken) && (lastContent !== "function" && lastContent !== "typeof" && lastContent !== "instanceof");
@/lua/common/mathlib.lua
]]
newLuaVec3xyz = ffi.typeof("struct __luaVec3_t")
end
if ffi then
newLuaQuatxyzw = ffi.typeof("struct __luaQuat_t")
ffi.metatype("struct __luaQuat_t", LuaQuat)
@/ui/modules/apps/RaceCountdown/app.js
let msg = messages[0]
$scope.txt = typeof(msg[0]) == 'object' ? $filter('translate')(msg[0].txt, msg[0].context) : $filter('translate')(msg[0])
$scope.txt = $sce.trustAsHtml($scope.txt)
@/ui/lib/ext/angular-translate/angular-translate-beamng.js
loaderCache = true;
} else if (typeof(cache) === 'undefined') {
// enable cache using default
var cache = loaderCache;
if (typeof(cache) === 'string') {
// getting on-demand instance of loader
if (typeof(fn) === 'string') {
// getting on-demand instance
@/ui/modules/apps/PoliceInfo/app.js
infoTexts.forEach(function(val, idx) {
var isObject = typeof(info) == 'object'
svg.getElementById(val).innerHTML = isObject ? info[idx].txt : ''
@/ui/modules/automation/automation.js
vm.modData.last_update = new Date(vm.modData.last_update*1000)
if( typeof(vm.modData.attachments) === "string"){
vm.modData.attachments = JSON.parse(vm.modData.attachments)
@/ui/lib/int/mission-popups/mission-popups.js
scope.$on('ToggleMissionPopups', (_, state) => {
if (typeof (state) === 'boolean')
scope.missionPopupsVisible = state