UNPKG
@dominicstop/utils
Version:
latest (0.0.6)
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
Yet another event emitter written in typescript.
github.com/dominicstop/utils
dominicstop/utils
@dominicstop/utils
/
lib
/
commonjs
/
physics
/
SomeSystemForce.js
12 lines
(11 loc)
•
304 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
, {
value
:
true
});
exports
.
isSomeSystemForce
= isSomeSystemForce; ;
function
isSomeSystemForce
(
obj
) {
return
(obj !=
null
&&
typeof
obj ===
'object'
&&
"applyToAll"
in
obj &&
typeof
obj.
applyToAll
===
'function'
); } ;