Package Exports
- mout-lang-type
- mout-lang-type/lang/typeOf
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (mout-lang-type) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
mout-lang-type
mout-lang-type is an extension to MOUT’s lang utilities. It provides two modules: A typeOf
and an isType
function to be used instead of the included kindOf
and isKind
functions. The difference is that types are expressed in lowerCamelCase and represent the built-in objects [[Class]]
internal slot tags while MOUT’s kinds are expressed in UpperCamelCase representing the overall tags of objects, even of so-called non-standard exotic objects.
Getting started
Installation
Install this extension as a dependency to your project using Bower:
$ bower install --save mout-lang-type
Alternatively, it is also available using npm:
$ npm install --save mout-lang-type
Policy
This is communist software. It is crafted with heart and soul to the best of the author’s knowledge and belief: Not for profit but to satisfy the concrete needs. Do whatever you want with it (as long as you keep the author’s copyright notice in all copies or substantial portions of it included) for free. Imagine how the world could be if others would produce and distribute their products for the same benefits and ask yourself why they’re actually not.
License
This software is licensed under MIT License.